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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
603 B
Plaintext
Raw Normal View History

#reports
2023-12-10 12:55:46 -08:00
- if @reports.empty?
= render "shared/empty", icon: "fa-regular fa-smile-beam", translation_key: ".moderation.reports"
- @reports.each do |r|
= render "moderation/moderationbox", report: r
- if @more_data_available
.d-flex.justify-content-center.justify-content-sm-start#paginator
= button_to t("voc.load"), moderation_reports_path(type: params[:type]),
class: "btn btn-light",
method: :get,
params: { last_id: @reports_last_id },
data: { controller: :hotkey, hotkey: "." },
form: { data: { turbo_stream: true } }
- parent_layout "moderation"