From 6643f971959529963d91aca6898218d5c5b627d4 Mon Sep 17 00:00:00 2001
From: Alberto Garcia Cabeza
+
- <%= t('moderation.comments.index.filter') %>:
<% @valid_filters.each do |filter| %>
<% if @filter == filter %>
- <%= t("moderation.comments.index.filters.#{filter}") %>
+ hFY5Co#%$?5u~f>qy|c?F1Ra--?kZe#Oefc%5eo3p#_
z&JLXr{YqV%o4<7<`&;e>WFOFPciMI5mZeDMDPgB}x-8phi|LIDUF0olX~
zdH{HwwT;OQfG`XM$039}+`K4@2Iznn?FSPmfDbEKV@qQ#knqfkaOcoV;%(WKPAM4O
z&Jd!pzq~CQY4pdEs+-Z1Q&3V-)8LtD=@=N9SX6erML$MNVpEs(c~Mq%
<%= t('moderation.comments.index.title') %>
+<%= t("moderation.comments.index.title") %>
+
+
+
| <%= t('moderation.comments.index.headers.flags') %> | -<%= t('moderation.comments.index.headers.updated_at') %> | -<%= t('moderation.comments.index.headers.commentable_type') %> | -<%= t('moderation.comments.index.headers.commentable') %> | -<%= t('moderation.comments.index.headers.comment') %> | ++ <%= t("moderation.comments.index.headers.commentable") %> | + <%= t("moderation.comments.index.headers.commentable_type") %> | + <%= t("moderation.comments.index.headers.updated_at") %> + | +<%= t("moderation.comments.index.headers.comment") %> | +<%= t("moderation.comments.index.headers.flags") %> | +<%= t("moderation.debates.index.headers.actions") %> | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| <%= comment.inappropiate_flags_count %> | -<%= l comment.updated_at.to_date %> | -<%= comment.commentable_type.constantize.model_name.human %> | -<%= link_to comment.commentable.title, comment.commentable %> | -<%= comment.body %> |
- <%= link_to t('moderation.comments.index.hide'), hide_in_moderation_screen_moderation_comment_path(comment, request.query_parameters), method: :put %>
+ <%= link_to comment.commentable.title, comment.commentable %>
+ + <%= comment.commentable_type.constantize.model_name.human %> + <%= l comment.updated_at.to_date %> + |
+ <%= comment.body %> | +<%= comment.inappropiate_flags_count %> | ++ <%= link_to t("moderation.comments.index.hide"), hide_in_moderation_screen_moderation_comment_path(comment, request.query_parameters), method: :put, class: "delete" %> | <% if can? :mark_as_reviewed, comment %>- <%= link_to t('moderation.comments.index.mark_as_reviewed'), mark_as_reviewed_moderation_comment_path(comment, request.query_parameters), method: :put %> + <%= link_to t("moderation.comments.index.archive"), mark_as_reviewed_moderation_comment_path(comment, request.query_parameters), method: :put, class: "button radius tiny warning" %> | <% end %> <% if comment.reviewed? %> -- <%= t('moderation.comments.index.reviewed') %> + | + <%= t("moderation.comments.index.archived") %> | <% end %>
- <%= t('moderation.debates.index.filter') %>: <% @valid_filters.each do |filter| %> <% if @filter == filter %> - <%= t("moderation.debates.index.filters.#{filter}") %> +
| <%= t('moderation.debates.index.headers.flags') %> | -<%= t('moderation.debates.index.headers.updated_at') %> | -<%= t('moderation.debates.index.headers.title') %> | -<%= t('moderation.debates.index.headers.description') %> | ++ <%= t("moderation.debates.index.headers.title") %> | + <%= t("moderation.debates.index.headers.updated_at") %> | + <%= t("moderation.debates.index.headers.description") %> + | +<%= t("moderation.debates.index.headers.flags") %> | +<%= t("moderation.debates.index.headers.actions") %> | |||
|---|---|---|---|---|---|---|---|---|---|
| <%= debate.inappropiate_flags_count %> | -<%= l debate.updated_at.to_date %> | -<%= link_to debate.title, debate %> | -<%= debate.description %> |
- <%= link_to t('moderation.debates.index.hide'), hide_in_moderation_screen_moderation_debate_path(debate, request.query_parameters), method: :put %>
+ <%= link_to debate.title, debate, target: "_blank" %>
+ + <%= l debate.updated_at.to_date %> + + <%= debate.description %> + |
+ <%= debate.inappropiate_flags_count %> | ++ <%= link_to t("moderation.debates.index.hide"), hide_in_moderation_screen_moderation_debate_path(debate, request.query_parameters), method: :put, class: "delete" %> | <% if can? :mark_as_reviewed, debate %>- <%= link_to t('moderation.debates.index.mark_as_reviewed'), mark_as_reviewed_moderation_debate_path(debate, request.query_parameters), method: :put %> + <%= link_to t("moderation.debates.index.archive"), mark_as_reviewed_moderation_debate_path(debate, request.query_parameters), method: :put, class: "button radius tiny warning" %> | <% end %> <% if debate.reviewed? %> -- <%= t('moderation.debates.index.reviewed') %> + | + <%= t("moderation.debates.index.archived") %> | <% end %>