mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-07 19:33:37 +01:00
14 lines
505 B
Text
14 lines
505 B
Text
#reports
|
|
- @reports.each do |r|
|
|
= render "moderation/moderationbox", report: r
|
|
|
|
- unless @reports.count.zero?
|
|
= render "shared/cursored_pagination_dummy", more_data_available: @more_data_available, last_id: @reports_last_id, permitted_params: %i[type]
|
|
|
|
- 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 } }
|
|
= t("voc.load")
|
|
|
|
:ruby
|
|
parent_layout "moderation"
|