2022-01-03 14:23:12 -08:00
|
|
|
#reports
|
|
|
|
- @reports.each do |r|
|
2022-07-29 20:11:29 -07:00
|
|
|
= render "moderation/moderationbox", report: r
|
2022-01-03 13:43:37 -08:00
|
|
|
|
|
|
|
- unless @reports.count.zero?
|
2022-07-29 20:11:29 -07:00
|
|
|
= render "shared/cursored_pagination_dummy", more_data_available: @more_data_available, last_id: @reports_last_id, permitted_params: %i[type]
|
2022-01-03 13:43:37 -08:00
|
|
|
|
|
|
|
- if @more_data_available
|
|
|
|
.d-flex.justify-content-center.justify-content-sm-start
|
|
|
|
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @reports_last_id } }
|
2022-07-29 20:11:29 -07:00
|
|
|
= t("voc.load")
|