retrospring/app/views/inbox/show.haml

15 lines
418 B
Text
Raw Normal View History

2020-04-25 18:10:48 +02:00
#entries
- @inbox.each do |i|
2022-04-19 22:31:56 +02:00
= render "inbox/entry", i: i
2014-11-11 19:53:35 +01:00
2020-04-25 18:10:48 +02:00
- if @inbox.empty?
2022-04-19 22:31:56 +02:00
= t(".empty")
2015-02-12 21:59:46 +01:00
2022-04-19 22:31:56 +02:00
= render "shared/cursored_pagination_dummy", more_data_available: @more_data_available, last_id: @inbox_last_id
2015-02-12 21:59:46 +01: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 } }
= t("voc.load")