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

13 lines
374 B
Plaintext

#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'