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

16 lines
416 B
Plaintext

#entries
- @inbox.each do |i|
= render "inbox/entry", i:
- if @inbox.empty?
%p.empty= t(".empty")
- if @more_data_available
.d-flex.justify-content-center#paginator
= button_to t("voc.load"), inbox_path,
class: "btn btn-light",
method: :get,
params: { last_id: @inbox_last_id, author: @author }.compact,
data: { hotkey: "." },
form: { data: { turbo_stream: true } }