diff --git a/app/views/moderation/_menu.html.erb b/app/views/moderation/_menu.html.erb index 0a34adb8b..3437a731f 100644 --- a/app/views/moderation/_menu.html.erb +++ b/app/views/moderation/_menu.html.erb @@ -24,7 +24,7 @@
  • > <%= link_to moderation_debates_path do %> - <%= t('moderation.menu.flagged_debates') %> + <%= t("moderation.menu.flagged_debates") %> <% end %>
  • <% end %> diff --git a/app/views/moderation/budgets/investments/hide.js.erb b/app/views/moderation/budgets/investments/hide.js.erb index 9365b3837..9eb6f6df5 100644 --- a/app/views/moderation/budgets/investments/hide.js.erb +++ b/app/views/moderation/budgets/investments/hide.js.erb @@ -1,3 +1,3 @@ -var investment_id = '<%= dom_id(@investment) %>' +var investment_id = "<%= dom_id(@investment) %>" App.ModeratorBudgetInvestments.add_class_faded(investment_id) App.ModeratorBudgetInvestments.hide_moderator_actions(investment_id) diff --git a/app/views/moderation/comments/hide.js.erb b/app/views/moderation/comments/hide.js.erb index 4583aff53..6739b9d09 100644 --- a/app/views/moderation/comments/hide.js.erb +++ b/app/views/moderation/comments/hide.js.erb @@ -1,3 +1,3 @@ -var comment_id = '<%= dom_id(@comment) %>'; +var comment_id = "<%= dom_id(@comment) %>"; App.ModeratorComments.add_class_faded(comment_id); App.ModeratorComments.hide_moderator_actions(comment_id); \ No newline at end of file diff --git a/app/views/moderation/comments/index.html.erb b/app/views/moderation/comments/index.html.erb index f9c5ee341..a4b08413b 100644 --- a/app/views/moderation/comments/index.html.erb +++ b/app/views/moderation/comments/index.html.erb @@ -1,19 +1,19 @@

    <%= t("moderation.comments.index.title") %>

    -<%= render 'shared/filter_subnav', i18n_namespace: "moderation.comments.index" %> +<%= render "shared/filter_subnav", i18n_namespace: "moderation.comments.index" %>

    <%= page_entries_info @comments %>

    <%= t("moderation.comments.index.order") %> - <%= render 'shared/order_selector', i18n_namespace: "moderation.comments.index" %> + <%= render "shared/order_selector", i18n_namespace: "moderation.comments.index" %>
    <%= 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[]" } %> + <%= t("shared.check") %>: + <%= 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[]" } %>

    @@ -49,21 +49,21 @@
    - <%= submit_tag t('moderation.comments.index.block_authors'), + <%= submit_tag t("moderation.comments.index.block_authors"), name: "block_authors", class: "button hollow alert", - data: { confirm: t('moderation.comments.index.confirm') } %> + data: { confirm: t("moderation.comments.index.confirm") } %>
    - <%= submit_tag t('moderation.comments.index.hide_comments'), + <%= submit_tag t("moderation.comments.index.hide_comments"), name: "hide_comments", class: "button hollow alert", - data: { confirm: t('moderation.comments.index.confirm') } %> + data: { confirm: t("moderation.comments.index.confirm") } %> - <%= submit_tag t('moderation.comments.index.ignore_flags'), + <%= submit_tag t("moderation.comments.index.ignore_flags"), name: "ignore_flags", class: "button hollow", - data: { confirm: t('moderation.comments.index.confirm') } %> + data: { confirm: t("moderation.comments.index.confirm") } %>
    <%= paginate @comments %> diff --git a/app/views/moderation/dashboard/index.html.erb b/app/views/moderation/dashboard/index.html.erb index 489a0e320..3ce73e864 100644 --- a/app/views/moderation/dashboard/index.html.erb +++ b/app/views/moderation/dashboard/index.html.erb @@ -1,3 +1,3 @@ -<%= link_to t("admin.dashboard.index.back", org: setting['org_name']), root_path, class: "button float-right" %> +<%= link_to t("admin.dashboard.index.back", org: setting["org_name"]), root_path, class: "button float-right" %>

    <%= t("moderation.dashboard.index.title") %>

    diff --git a/app/views/moderation/debates/hide.js.erb b/app/views/moderation/debates/hide.js.erb index 1502feb08..14f6fd80e 100644 --- a/app/views/moderation/debates/hide.js.erb +++ b/app/views/moderation/debates/hide.js.erb @@ -1,3 +1,3 @@ -var debate_id = '<%= dom_id(@debate) %>'; +var debate_id = "<%= dom_id(@debate) %>"; App.ModeratorDebates.add_class_faded(debate_id); App.ModeratorDebates.hide_moderator_actions(debate_id); \ No newline at end of file diff --git a/app/views/moderation/debates/index.html.erb b/app/views/moderation/debates/index.html.erb index c0fae2919..637d475bc 100644 --- a/app/views/moderation/debates/index.html.erb +++ b/app/views/moderation/debates/index.html.erb @@ -1,19 +1,19 @@

    <%= t("moderation.debates.index.title") %>

    -<%= render 'shared/filter_subnav', i18n_namespace: "moderation.debates.index" %> +<%= render "shared/filter_subnav", i18n_namespace: "moderation.debates.index" %>

    <%= page_entries_info @debates %>

    <%= t("moderation.debates.index.order") %> - <%= render 'shared/order_selector', i18n_namespace: "moderation.debates.index" %> + <%= render "shared/order_selector", i18n_namespace: "moderation.debates.index" %>
    <%= form_tag moderate_moderation_debates_path(request.query_parameters), method: :put do %>

    - <%= t('shared.check') %>: - <%= link_to t('shared.check_all'), '#', data: { check_all: "debate_ids[]" } %> + <%= t("shared.check") %>: + <%= 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[]" } %>

    @@ -48,21 +48,21 @@
    - <%= submit_tag t('moderation.debates.index.block_authors'), + <%= submit_tag t("moderation.debates.index.block_authors"), name: "block_authors", class: "button hollow alert", - data: { confirm: t('moderation.debates.index.confirm') } %> + data: { confirm: t("moderation.debates.index.confirm") } %>
    - <%= submit_tag t('moderation.debates.index.hide_debates'), + <%= submit_tag t("moderation.debates.index.hide_debates"), name: "hide_debates", class: "button hollow alert", - data: { confirm: t('moderation.debates.index.confirm') } %> + data: { confirm: t("moderation.debates.index.confirm") } %> - <%= submit_tag t('moderation.debates.index.ignore_flags'), + <%= submit_tag t("moderation.debates.index.ignore_flags"), name: "ignore_flags", class: "button hollow", - data: { confirm: t('moderation.debates.index.confirm') } %> + data: { confirm: t("moderation.debates.index.confirm") } %>
    <%= paginate @debates %> diff --git a/app/views/moderation/proposal_notifications/hide.js.erb b/app/views/moderation/proposal_notifications/hide.js.erb index be8381f6f..fca6250b1 100644 --- a/app/views/moderation/proposal_notifications/hide.js.erb +++ b/app/views/moderation/proposal_notifications/hide.js.erb @@ -1,3 +1,3 @@ -var proposal_notification_id = '<%= dom_id(@proposal_notification) %>'; +var proposal_notification_id = "<%= dom_id(@proposal_notification) %>"; App.ModeratorProposalNotifications.add_class_faded(proposal_notification_id); App.ModeratorProposalNotifications.hide_moderator_actions(proposal_notification_id); diff --git a/app/views/moderation/proposal_notifications/index.html.erb b/app/views/moderation/proposal_notifications/index.html.erb index e32f3d1da..5da726595 100644 --- a/app/views/moderation/proposal_notifications/index.html.erb +++ b/app/views/moderation/proposal_notifications/index.html.erb @@ -1,19 +1,19 @@

    <%= t("moderation.proposal_notifications.index.title") %>

    -<%= render 'shared/filter_subnav', i18n_namespace: "moderation.proposal_notifications.index" %> +<%= render "shared/filter_subnav", i18n_namespace: "moderation.proposal_notifications.index" %>

    <%= page_entries_info @proposal_notifications %>

    <%= t("moderation.proposal_notifications.index.order") %> - <%= render 'shared/order_selector', i18n_namespace: "moderation.proposal_notifications.index" %> + <%= render "shared/order_selector", i18n_namespace: "moderation.proposal_notifications.index" %>
    <%= form_tag moderate_moderation_proposal_notifications_path(request.query_parameters), method: :put do %>

    - <%= t('shared.check') %>: - <%= link_to t('shared.check_all'), '#', data: { check_all: "proposal_notification_ids[]" } %> + <%= t("shared.check") %>: + <%= 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[]" } %>

    @@ -47,21 +47,21 @@
    - <%= submit_tag t('moderation.proposal_notifications.index.block_authors'), + <%= submit_tag t("moderation.proposal_notifications.index.block_authors"), name: "block_authors", class: "button hollow alert", - data: { confirm: t('moderation.proposal_notifications.index.confirm') } %> + data: { confirm: t("moderation.proposal_notifications.index.confirm") } %>
    - <%= submit_tag t('moderation.proposal_notifications.index.hide_proposal_notifications'), + <%= submit_tag t("moderation.proposal_notifications.index.hide_proposal_notifications"), name: "hide_proposal_notifications", class: "button hollow alert", - data: { confirm: t('moderation.proposal_notifications.index.confirm') } %> + data: { confirm: t("moderation.proposal_notifications.index.confirm") } %> - <%= submit_tag t('moderation.proposal_notifications.index.ignore_flags'), + <%= submit_tag t("moderation.proposal_notifications.index.ignore_flags"), name: "ignore_flags", class: "button hollow", - data: { confirm: t('moderation.proposal_notifications.index.confirm') } %> + data: { confirm: t("moderation.proposal_notifications.index.confirm") } %>
    <%= paginate @proposal_notifications %> diff --git a/app/views/moderation/proposals/hide.js.erb b/app/views/moderation/proposals/hide.js.erb index 447336653..cc0a20566 100644 --- a/app/views/moderation/proposals/hide.js.erb +++ b/app/views/moderation/proposals/hide.js.erb @@ -1,3 +1,3 @@ -var proposal_id = '<%= dom_id(@proposal) %>'; +var proposal_id = "<%= dom_id(@proposal) %>"; App.ModeratorProposals.add_class_faded(proposal_id); App.ModeratorProposals.hide_moderator_actions(proposal_id); diff --git a/app/views/moderation/proposals/index.html.erb b/app/views/moderation/proposals/index.html.erb index 8173f07ca..8ecbaddf5 100644 --- a/app/views/moderation/proposals/index.html.erb +++ b/app/views/moderation/proposals/index.html.erb @@ -1,19 +1,19 @@

    <%= t("moderation.proposals.index.title") %>

    -<%= render 'shared/filter_subnav', i18n_namespace: "moderation.proposals.index" %> +<%= render "shared/filter_subnav", i18n_namespace: "moderation.proposals.index" %>

    <%= page_entries_info @proposals %>

    <%= t("moderation.proposals.index.order") %> - <%= render 'shared/order_selector', i18n_namespace: "moderation.proposals.index" %> + <%= render "shared/order_selector", i18n_namespace: "moderation.proposals.index" %>
    <%= form_tag moderate_moderation_proposals_path(request.query_parameters), method: :put do %>

    - <%= t('shared.check') %>: - <%= link_to t('shared.check_all'), '#', data: { check_all: "proposal_ids[]" } %> + <%= t("shared.check") %>: + <%= 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[]" } %>

    @@ -48,21 +48,21 @@
    - <%= submit_tag t('moderation.proposals.index.block_authors'), + <%= submit_tag t("moderation.proposals.index.block_authors"), name: "block_authors", class: "button hollow alert", - data: { confirm: t('moderation.proposals.index.confirm') } %> + data: { confirm: t("moderation.proposals.index.confirm") } %>
    - <%= submit_tag t('moderation.proposals.index.hide_proposals'), + <%= submit_tag t("moderation.proposals.index.hide_proposals"), name: "hide_proposals", class: "button hollow alert", - data: { confirm: t('moderation.proposals.index.confirm') } %> + data: { confirm: t("moderation.proposals.index.confirm") } %> - <%= submit_tag t('moderation.proposals.index.ignore_flags'), + <%= submit_tag t("moderation.proposals.index.ignore_flags"), name: "ignore_flags", class: "button hollow", - data: { confirm: t('moderation.proposals.index.confirm') } %> + data: { confirm: t("moderation.proposals.index.confirm") } %>
    <%= paginate @proposals %>