From 7fe6285fe30cd3d01254e009e3524128b2a46726 Mon Sep 17 00:00:00 2001 From: Julian Herrero Date: Thu, 14 Mar 2019 17:14:10 +0100 Subject: [PATCH] Use double quotes in app/views/proposals --- .../proposal_notifications/_actions.html.erb | 6 ++--- app/views/proposals/_actions.html.erb | 4 ++-- app/views/proposals/_categories.html.erb | 2 +- app/views/proposals/_comments.html.erb | 6 ++--- .../proposals/_featured_proposal.html.erb | 2 +- app/views/proposals/_featured_votes.html.erb | 14 +++++------ app/views/proposals/_flag_actions.html.erb | 4 ++-- app/views/proposals/_form.html.erb | 14 +++++------ app/views/proposals/_geozones.html.erb | 2 +- app/views/proposals/_info.html.erb | 14 +++++------ app/views/proposals/_notifications.html.erb | 4 ++-- app/views/proposals/_proposal.html.erb | 6 ++--- .../proposals/_proposal_minimal.html.erb | 2 +- app/views/proposals/_retired.html.erb | 4 ++-- app/views/proposals/_social_share.html.erb | 6 ++--- app/views/proposals/_votes.html.erb | 12 +++++----- app/views/proposals/index.html.erb | 22 ++++++++--------- app/views/proposals/map.html.erb | 2 +- app/views/proposals/new.html.erb | 2 +- app/views/proposals/retire_form.html.erb | 6 ++--- app/views/proposals/share.html.erb | 2 +- app/views/proposals/show.html.erb | 24 +++++++++---------- app/views/proposals/summary.html.erb | 10 ++++---- 23 files changed, 85 insertions(+), 85 deletions(-) diff --git a/app/views/proposal_notifications/_actions.html.erb b/app/views/proposal_notifications/_actions.html.erb index 37f6bdac3..25ab0a8a7 100644 --- a/app/views/proposal_notifications/_actions.html.erb +++ b/app/views/proposal_notifications/_actions.html.erb @@ -1,15 +1,15 @@ <% if can? :hide, (notification || notification.author) %>
- + <% if can? :hide, notification %> <%= link_to t("admin.actions.hide").capitalize, hide_moderation_proposal_notification_path(notification), - method: :put, remote: true, data: { confirm: t('admin.actions.confirm') } %> + method: :put, remote: true, data: { confirm: t("admin.actions.confirm") } %> <% end %> <% if can? :hide, notification.author %>  •  <%= link_to t("admin.actions.hide_author").capitalize, hide_moderation_user_path(notification.author_id), - method: :put, data: { confirm: t('admin.actions.confirm') } %> + method: :put, data: { confirm: t("admin.actions.confirm") } %> <% end %>
diff --git a/app/views/proposals/_actions.html.erb b/app/views/proposals/_actions.html.erb index b2bc9f111..5a02d96ec 100644 --- a/app/views/proposals/_actions.html.erb +++ b/app/views/proposals/_actions.html.erb @@ -1,10 +1,10 @@ <% if can? :hide, proposal %> <%= link_to t("admin.actions.hide").capitalize, hide_moderation_proposal_path(proposal), - method: :put, remote: true, data: { confirm: t('admin.actions.confirm') } %> + method: :put, remote: true, data: { confirm: t("admin.actions.confirm") } %> <% end %> <% if can? :hide, proposal.author %>  |  <%= link_to t("admin.actions.hide_author").capitalize, hide_moderation_user_path(proposal.author_id), - method: :put, data: { confirm: t('admin.actions.confirm') } %> + method: :put, data: { confirm: t("admin.actions.confirm") } %> <% end %> diff --git a/app/views/proposals/_categories.html.erb b/app/views/proposals/_categories.html.erb index 6e12096e4..1380fdaf7 100644 --- a/app/views/proposals/_categories.html.erb +++ b/app/views/proposals/_categories.html.erb @@ -5,7 +5,7 @@