<%= t(".title") %>
<%= link_to t("actions.not_hidden", scope: "decidim.moderations"), moderations_path %> | <%= link_to t("actions.hidden", scope: "decidim.moderations"), moderations_path(hidden: true) %>

<% if params[:hidden] %> <% end %> <% moderations.each do |moderation| %> <% if params[:hidden] %> <% end %> <% end %>
<%= t("models.moderation.fields.reportable", scope: "decidim.moderations") %> <%= t("models.moderation.fields.reported_content_url", scope: "decidim.moderations") %> <%= t("models.moderation.fields.reports", scope: "decidim.moderations") %> <%= t("models.moderation.fields.report_count", scope: "decidim.moderations") %><%= t("models.moderation.fields.hidden_at", scope: "decidim.moderations") %><%= t("actions.title", scope: "decidim.moderations") %>
<%= moderation.reportable.class.name.demodulize %> <%= link_to moderation.reportable.reported_content_url, target: "_blank" do (moderation.reportable.reported_content_url + " " + icon("external-link")).html_safe end %> <% reports = moderation.reports.map { |report| render 'report', report: report } %> <%= safe_join(reports, ',') %> <%= moderation.report_count %> <%= l(moderation.hidden_at, format: :long) if moderation.hidden_at.present? %> <% if can? :unreport, moderation %> <%= icon_link_to "action-undo", unreport_moderation_path(id: moderation), t("actions.unreport", scope: "decidim.moderations"), class: "action-icon--unreport", method: :put %> <% end %> <% if !moderation.reportable.hidden? && can?(:hide, moderation) %> <%= icon_link_to "eye", hide_moderation_path(id: moderation), t("actions.hide", scope: "decidim.moderations"), class: "action-icon--hide", method: :put %> <% end %>