summaryrefslogtreecommitdiffstats
path: root/app/views/roles
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/roles
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/roles')
-rw-r--r--app/views/roles/index.html.erb2
-rw-r--r--app/views/roles/permissions.html.erb4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/roles/index.html.erb b/app/views/roles/index.html.erb
index 19a6c42c4..9545d5509 100644
--- a/app/views/roles/index.html.erb
+++ b/app/views/roles/index.html.erb
@@ -14,7 +14,7 @@
<tbody>
<% for role in @roles %>
<tr class="<%= cycle("odd", "even") %>">
- <td class="name"><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), edit_role_path(role))) %></td>
+ <td class="name"><%= content_tag(role.builtin? ? 'em' : 'span', link_to(role.name, edit_role_path(role))) %></td>
<td class="reorder">
<% unless role.builtin? %>
<%= reorder_links('role', {:action => 'update', :id => role, :page => params[:page]}, :put) %>
diff --git a/app/views/roles/permissions.html.erb b/app/views/roles/permissions.html.erb
index 13a072ff3..cea4bd9e6 100644
--- a/app/views/roles/permissions.html.erb
+++ b/app/views/roles/permissions.html.erb
@@ -9,7 +9,7 @@
<th><%=l(:label_permissions)%></th>
<% @roles.each do |role| %>
<th>
- <%= content_tag(role.builtin? ? 'em' : 'span', h(role.name)) %>
+ <%= content_tag(role.builtin? ? 'em' : 'span', role.name) %>
<%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('input.role-#{role.id}')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
</th>
@@ -26,7 +26,7 @@
<%= l_or_humanize(mod, :prefix => 'project_module_') %>
</td>
<% @roles.each do |role| %>
- <td class="role"><%= h(role.name) %></td>
+ <td class="role"><%= role.name %></td>
<% end %>
</tr>
<% end %>