summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-23 10:11:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-23 10:11:08 +0000
commitb778c51e9049ca2c0d745a699db6d93d53b71175 (patch)
tree8608956d05f884b557ea3451bead74a4dc9441f0 /app/views/custom_fields
parentec201b08b3cfd1e115704abdbd7bc541a3651fe1 (diff)
downloadredmine-b778c51e9049ca2c0d745a699db6d93d53b71175.tar.gz
redmine-b778c51e9049ca2c0d745a699db6d93d53b71175.zip
Removed unneeded #h calls in views.
git-svn-id: http://svn.redmine.org/redmine/trunk@14043 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r--app/views/custom_fields/_form.html.erb4
-rw-r--r--app/views/custom_fields/_index.html.erb2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb
index 0e1851d01..c5e2824c5 100644
--- a/app/views/custom_fields/_form.html.erb
+++ b/app/views/custom_fields/_form.html.erb
@@ -94,7 +94,7 @@ when "IssueCustomField" %>
(@custom_field.trackers.include? tracker),
:id => "custom_field_tracker_ids_#{tracker.id}" %>
<label class="no-css" for="custom_field_tracker_ids_<%=tracker.id%>">
- <%= h(tracker.name) %>
+ <%= tracker.name %>
</label>
<% end %>
<%= hidden_field_tag "custom_field[tracker_ids][]", '' %>
@@ -103,7 +103,7 @@ when "IssueCustomField" %>
<fieldset class="box" id="custom_field_project_ids"><legend><%= l(:label_project_plural) %></legend>
<%= render_project_nested_lists(Project.all) do |p|
- content_tag('label', check_box_tag('custom_field[project_ids][]', p.id, @custom_field.projects.to_a.include?(p), :id => nil) + ' ' + h(p))
+ content_tag('label', check_box_tag('custom_field[project_ids][]', p.id, @custom_field.projects.to_a.include?(p), :id => nil) + ' ' + p)
end %>
<%= hidden_field_tag('custom_field[project_ids][]', '', :id => nil) %>
<p><%= check_all_links 'custom_field_project_ids' %></p>
diff --git a/app/views/custom_fields/_index.html.erb b/app/views/custom_fields/_index.html.erb
index 0b578d6ee..858665e93 100644
--- a/app/views/custom_fields/_index.html.erb
+++ b/app/views/custom_fields/_index.html.erb
@@ -13,7 +13,7 @@
<tbody>
<% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%>
<tr class="<%= cycle("odd", "even") %>">
- <td class="name"><%= link_to h(custom_field.name), edit_custom_field_path(custom_field) %></td>
+ <td class="name"><%= link_to custom_field.name, edit_custom_field_path(custom_field) %></td>
<td><%= l(custom_field.format.label) %></td>
<td><%= checked_image custom_field.is_required? %></td>
<% if tab[:name] == 'IssueCustomField' %>