summaryrefslogtreecommitdiffstats
path: root/app/views/roles
diff options
context:
space:
mode:
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 %>