retrospring/app/views/inbox/show.html.haml
2020-04-25 18:10:48 +02:00

12 lines
382 B
Text

#entries
- @inbox.each do |i|
= render 'inbox/entry', i: i
- if @inbox.empty?
= t 'views.inbox.empty'
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @inbox_last_id
- if @more_data_available
%button#load-more-btn.btn.btn-default{type: :button, data: { last_id: @inbox_last_id }}
= t 'views.actions.load'