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-10 04:21:41 -07:00
|
|
|
%button.btn.btn-default#load-more-btn{ type: :button, data: { last_id: @inbox_last_id } }
|
2020-05-08 19:51:14 -07:00
|
|
|
= t 'views.actions.load'
|