Retrospring/app/views/inbox/show.haml

15 lines
437 B
Plaintext
Raw Normal View History

2020-04-25 09:10:48 -07:00
#entries
- @inbox.each do |i|
= render 'inbox/entry', i: i
2014-11-11 10:53:35 -08:00
2020-04-25 09:10:48 -07:00
- if @inbox.empty?
= t 'views.inbox.empty'
2015-02-12 12:59:46 -08: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 } }
= t 'views.actions.load'