diff --git a/app/views/moderation/comments/index.html.erb b/app/views/moderation/comments/index.html.erb index ae919a71c..f9c5ee341 100644 --- a/app/views/moderation/comments/index.html.erb +++ b/app/views/moderation/comments/index.html.erb @@ -9,63 +9,61 @@ <%= form_tag moderate_moderation_comments_path(request.query_parameters), method: :put do %> -
+
<%= t('shared.check') %>: - <%= link_to t('shared.check_all'), '#', data: {check_all: "comment_ids[]"} %> + <%= link_to t('shared.check_all'), '#', data: { check_all: "comment_ids[]" } %> | - <%= link_to t('shared.check_none'), '#', data: {check_none: "comment_ids[]"} %> + <%= link_to t('shared.check_none'), '#', data: { check_none: "comment_ids[]" } %>
-| - <%= t("moderation.comments.index.headers.comment") %> - | -- <%= t("moderation.comments.index.headers.moderate") %> - | -||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
- <%= comment.commentable_type.constantize.model_name.human %> -
- <%= link_to comment.commentable.title, commentable_path(comment) %>
- - <%= l comment.updated_at.to_date %> - • - <%= comment.flags_count %> - • - <%= comment.author.username %> - - - <%= comment.body %> - - |
- - <%= check_box_tag "comment_ids[]", comment.id, nil, id: "#{dom_id(comment)}_check" %> - | +
| <%= t("moderation.comments.index.headers.comment") %> | +<%= t("moderation.comments.index.headers.moderate") %> |
|---|---|
|
+ <%= comment.commentable_type.constantize.model_name.human %> -
+ <%= link_to comment.commentable.title, commentable_path(comment), target: "_blank" %>
+ + <%= l comment.updated_at.to_date %> + • + <%= comment.flags_count %> + • + <%= comment.author.username %> + +
+ <%= comment.body %>
+
+ |
+ + <%= check_box_tag "comment_ids[]", comment.id, nil, id: "#{dom_id(comment)}_check" %> + | +
<%= t('shared.check') %>: - <%= link_to t('shared.check_all'), '#', data: {check_all: "debate_ids[]"} %> + <%= link_to t('shared.check_all'), '#', data: { check_all: "debate_ids[]" } %> | - <%= link_to t('shared.check_none'), '#', data: {check_none: "debate_ids[]"} %> + <%= link_to t('shared.check_none'), '#', data: { check_none: "debate_ids[]" } %>
| - <%= t("moderation.debates.index.headers.debate") %> - | -- <%= t("moderation.debates.index.headers.moderate") %> - | -||
|---|---|---|---|
|
- <%= link_to debate.title, debate, target: "_blank" %>
- - <%= l debate.updated_at.to_date %> - • - <%= debate.flags_count %> - • - <%= debate.author.username %> - -
- <%= debate.description %>
-
- |
- - <%= check_box_tag "debate_ids[]", debate.id, nil, id: "#{dom_id(debate)}_check" %> - | + +||
| <%= t("moderation.debates.index.headers.debate") %> | +<%= t("moderation.debates.index.headers.moderate") %> | ||
|
+ <%= link_to debate.title, debate, target: "_blank" %>
+ + <%= l debate.updated_at.to_date %> + • + <%= debate.flags_count %> + • + <%= debate.author.username %> + +
+ <%= debate.description %>
+
+ |
+ + <%= check_box_tag "debate_ids[]", debate.id, nil, id: "#{dom_id(debate)}_check" %> + | +
+
<%= t('shared.check') %>: - <%= link_to t('shared.check_all'), '#', data: {check_all: "proposal_notification_ids[]"} %> + <%= link_to t('shared.check_all'), '#', data: { check_all: "proposal_notification_ids[]" } %> | - <%= link_to t('shared.check_none'), '#', data: {check_none: "proposal_notification_ids[]"} %> + <%= link_to t('shared.check_none'), '#', data: { check_none: "proposal_notification_ids[]" } %>
| - <%= t("moderation.proposal_notifications.index.headers.proposal_notification") %> - | -- <%= t("moderation.proposal_notifications.index.headers.moderate") %> - | -||
|---|---|---|---|
|
- <%= link_to proposal_notification.title, proposal_notification, target: "_blank" %>
- - <%= l proposal_notification.updated_at.to_date %> - -
- <%= proposal_notification.body %>
-
- |
- - <%= check_box_tag "proposal_notification_ids[]", proposal_notification.id, nil, id: "#{dom_id(proposal_notification)}_check" %> - | + +||
| <%= t("moderation.proposal_notifications.index.headers.proposal_notification") %> | +<%= t("moderation.proposal_notifications.index.headers.moderate") %> | ||
|
+ <%= link_to proposal_notification.title, proposal_notification, target: "_blank" %>
+ + <%= l proposal_notification.updated_at.to_date %> + +
+ <%= proposal_notification.body %>
+
+ |
+ + <%= check_box_tag "proposal_notification_ids[]", + proposal_notification.id, + nil, + id: "#{dom_id(proposal_notification)}_check" %> + | +
+
<%= t('shared.check') %>: - <%= link_to t('shared.check_all'), '#', data: {check_all: "proposal_ids[]"} %> + <%= link_to t('shared.check_all'), '#', data: { check_all: "proposal_ids[]" } %> | - <%= link_to t('shared.check_none'), '#', data: {check_none: "proposal_ids[]"} %> + <%= link_to t('shared.check_none'), '#', data: { check_none: "proposal_ids[]" } %>
| - <%= t("moderation.proposals.index.headers.proposal") %> - | -- <%= t("moderation.proposals.index.headers.moderate") %> - | -||
|---|---|---|---|
|
- <%= link_to proposal.title, proposal, target: "_blank" %>
- - <%= l proposal.updated_at.to_date %> - • - <%= proposal.flags_count %> - • - <%= proposal.author.username %> - -
- <%= proposal.description %>
-
- |
- - <%= check_box_tag "proposal_ids[]", proposal.id, nil, id: "#{dom_id(proposal)}_check" %> - | + +||
| <%= t("moderation.proposals.index.headers.proposal") %> | +<%= t("moderation.proposals.index.headers.moderate") %> | ||
|
+ <%= link_to proposal.title, proposal, target: "_blank" %>
+ + <%= l proposal.updated_at.to_date %> + • + <%= proposal.flags_count %> + • + <%= proposal.author.username %> + +
+ <%= proposal.description %>
+
+ |
+ + <%= check_box_tag "proposal_ids[]", proposal.id, nil, id: "#{dom_id(proposal)}_check" %> + | +