2022-09-07 15:37:15 -07:00
|
|
|
#reports
|
|
|
|
- @reports.each do |r|
|
|
|
|
= render "moderation/moderationbox", report: r
|
2022-01-03 13:43:37 -08:00
|
|
|
|
2022-09-07 15:37:15 -07:00
|
|
|
- if @more_data_available
|
|
|
|
.d-flex.justify-content-center.justify-content-sm-start#paginator
|
2023-01-21 10:26:23 -08:00
|
|
|
= button_to t("voc.load"), moderation_reports_path(type: params[:type]),
|
|
|
|
class: "btn btn-light",
|
|
|
|
method: :get,
|
|
|
|
params: { last_id: @reports_last_id },
|
2023-03-19 06:42:01 -07:00
|
|
|
data: { controller: :hotkey, hotkey: "." },
|
2023-01-21 10:26:23 -08:00
|
|
|
form: { data: { turbo_stream: true } }
|
2022-11-20 09:04:25 -08:00
|
|
|
|
|
|
|
- parent_layout "moderation"
|