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

15 lines
387 B
Plaintext
Raw Normal View History

2022-09-07 15:43:28 -07:00
#entries
- @inbox.each do |i|
2023-02-05 09:06:48 -08:00
= render "inbox/entry", i:
2022-09-07 15:43:28 -07:00
- if @inbox.empty?
%p.empty= t(".empty")
2022-09-07 15:43:28 -07:00
- if @more_data_available
.d-flex.justify-content-center#paginator
2023-01-19 07:25:56 -08:00
= button_to t("voc.load"), inbox_path,
class: "btn btn-light",
method: :get,
params: { last_id: @inbox_last_id, author: @author }.compact,
form: { data: { turbo_stream: true } }