Retrospring/app/views/moderation/inbox/index.html.haml

19 lines
602 B
Plaintext
Raw Normal View History

- provide(:title, generate_title(t(".title", user: @user.screen_name)))
2022-06-23 12:57:41 -07:00
= render "header", user: @user, hidden: false
= render "header", user: @user, hidden: true
.container-lg.container--main
#entries
- @inboxes.each do |i|
= render "inbox/entry", i: i
- if @more_data_available
.d-flex.justify-content-center#paginator
= button_to t("voc.load"), mod_inbox_index_path(@user),
class: "btn btn-light",
method: :get,
params: { last_id: @inbox_last_id },
data: { controller: :hotkey, hotkey: "." },
form: { data: { turbo_stream: true } }