Retrospring/app/views/inbox/show.html.haml

13 lines
382 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
2020-04-25 09:10:48 -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-04-25 09:10:48 -07:00
- if @more_data_available
%button#load-more-btn.btn.btn-default{type: :button, data: { last_id: @inbox_last_id }}
= t 'views.actions.load'