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
|
|
|
|
2020-05-08 19:51:14 -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
|
|
|
|
2020-05-08 19:51:14 -07:00
|
|
|
- if @more_data_available
|
2020-05-29 11:37:47 -07:00
|
|
|
|
2020-05-29 14:00:25 -07:00
|
|
|
.d-flex.justify-content-center.justify-content-sm-start
|
2020-05-29 11:37:47 -07:00
|
|
|
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @inbox_last_id } }
|
|
|
|
= t 'views.actions.load'
|