Retrospring/app/views/inbox/show.haml

15 lines
418 B
Plaintext
Raw Normal View History

2020-04-25 09:10:48 -07:00
#entries
- @inbox.each do |i|
2022-04-19 13:31:56 -07:00
= render "inbox/entry", i: i
2014-11-11 10:53:35 -08:00
2020-04-25 09:10:48 -07:00
- if @inbox.empty?
2022-04-19 13:31:56 -07:00
= t(".empty")
2015-02-12 12:59:46 -08:00
2022-04-19 13:31:56 -07:00
= render "shared/cursored_pagination_dummy", more_data_available: @more_data_available, last_id: @inbox_last_id
2015-02-12 12:59:46 -08:00
- if @more_data_available
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @inbox_last_id } }
2022-04-19 13:31:56 -07:00
= t("vpc.load")