2022-09-07 15:43:28 -07:00
|
|
|
#entries
|
|
|
|
- @inbox.each do |i|
|
|
|
|
= render "inbox/entry", i: i
|
2022-09-04 11:24:32 -07:00
|
|
|
|
2022-09-07 15:43:28 -07:00
|
|
|
- if @inbox.empty?
|
2022-11-17 12:56:49 -08:00
|
|
|
%p.empty= t(".empty")
|
2022-09-04 11:24:32 -07:00
|
|
|
|
2022-09-07 15:43:28 -07:00
|
|
|
- if @more_data_available
|
2022-10-25 12:52:58 -07:00
|
|
|
.d-flex.justify-content-center#paginator
|
2023-01-18 15:13:48 -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 } }
|