2022-09-08 00:37:15 +02:00
|
|
|
#reports
|
|
|
|
- @reports.each do |r|
|
|
|
|
= render "moderation/moderationbox", report: r
|
2022-01-03 22:43:37 +01:00
|
|
|
|
2022-09-08 00:37:15 +02:00
|
|
|
- if @more_data_available
|
|
|
|
.d-flex.justify-content-center.justify-content-sm-start#paginator
|
2023-01-21 19:26:23 +01: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-05 18:57:25 +01:00
|
|
|
data: { hotkey: "." },
|
2023-01-21 19:26:23 +01:00
|
|
|
form: { data: { turbo_stream: true } }
|
2022-11-20 18:04:25 +01:00
|
|
|
|
|
|
|
- parent_layout "moderation"
|