Add missing double quotes
We overlooked a few single quotes while we changed thousands of them.
This commit is contained in:
@@ -5,7 +5,7 @@ module HasOrders
|
||||
def has_orders(valid_orders, *args)
|
||||
before_action(*args) do |c|
|
||||
@valid_orders = valid_orders.respond_to?(:call) ? valid_orders.call(c) : valid_orders.dup
|
||||
@valid_orders.delete('relevance') if params[:search].blank?
|
||||
@valid_orders.delete("relevance") if params[:search].blank?
|
||||
@current_order = @valid_orders.include?(params[:order]) ? params[:order] : @valid_orders.first
|
||||
end
|
||||
end
|
||||
|
||||
@@ -22,7 +22,7 @@ module FollowablesHelper
|
||||
end
|
||||
|
||||
def followable_class_name(followable)
|
||||
followable.class.to_s.parameterize('_')
|
||||
followable.class.to_s.parameterize("_")
|
||||
end
|
||||
|
||||
def find_or_build_follow(user, followable)
|
||||
|
||||
@@ -34,9 +34,9 @@ module ProposalsHelper
|
||||
|
||||
def empty_recommended_proposals_message_text(user)
|
||||
if user.interests.any?
|
||||
t('proposals.index.recommendations.without_results')
|
||||
t("proposals.index.recommendations.without_results")
|
||||
else
|
||||
t('proposals.index.recommendations.without_interests')
|
||||
t("proposals.index.recommendations.without_interests")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<%= f.text_field :custom_list, value: @process.tag_list_on(:customs).to_s,
|
||||
label: false,
|
||||
placeholder: t("admin.legislation.proposals.form.custom_categories_placeholder"),
|
||||
class: 'js-tag-list',
|
||||
class: "js-tag-list",
|
||||
aria: {describedby: "tag-list-help-text"} %>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<% if proposals.any? %>
|
||||
<h3><%= page_entries_info proposals %></h3>
|
||||
|
||||
<%= render 'shared/wide_order_selector', i18n_namespace: "admin.legislation.processes.proposals" %>
|
||||
<%= render "shared/wide_order_selector", i18n_namespace: "admin.legislation.processes.proposals" %>
|
||||
|
||||
<table class="stack" id="legislation_proposals_list">
|
||||
<thead>
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
<h2><%= @process.title %></h2>
|
||||
|
||||
<%= render 'admin/legislation/processes/subnav', process: @process, active: 'proposals' %>
|
||||
<%= render "admin/legislation/processes/subnav", process: @process, active: "proposals" %>
|
||||
|
||||
<%= render 'form' %>
|
||||
<%= render 'proposals', proposals: @proposals %>
|
||||
<%= render "form" %>
|
||||
<%= render "proposals", proposals: @proposals %>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<span class="icon-comment" aria-hidden="true"></span>
|
||||
|
||||
<div class="comment-number">
|
||||
<%= t('legislation.annotations.comments.comments_count',
|
||||
<%= t("legislation.annotations.comments.comments_count",
|
||||
count: annotation.comments.roots.count) %>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user