summaryrefslogtreecommitdiffstats
path: root/app/views/roles
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-07-28 11:50:18 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-07-28 11:50:18 +0000
commitf3241385cd7b74e2d063511b7f8f3893fdfacfd4 (patch)
treeef555aa4bf534d95021ea21dbff2b2b5aee6808f /app/views/roles
parent1e738fbacaa0eb044a3cd5b345ee0a906f073187 (diff)
downloadredmine-f3241385cd7b74e2d063511b7f8f3893fdfacfd4.tar.gz
redmine-f3241385cd7b74e2d063511b7f8f3893fdfacfd4.zip
Adds missing html titles (#14517).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12050 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/roles')
-rw-r--r--app/views/roles/edit.html.erb2
-rw-r--r--app/views/roles/new.html.erb2
-rw-r--r--app/views/roles/permissions.html.erb2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/roles/edit.html.erb b/app/views/roles/edit.html.erb
index 7caca3002..dc52202b5 100644
--- a/app/views/roles/edit.html.erb
+++ b/app/views/roles/edit.html.erb
@@ -1,4 +1,4 @@
-<h2><%= link_to l(:label_role_plural), roles_path %> &#187; <%=h @role.name %></h2>
+<%= title [l(:label_role_plural), roles_path], @role.name %>
<%= labelled_form_for @role do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
diff --git a/app/views/roles/new.html.erb b/app/views/roles/new.html.erb
index 0e5dfeb9c..752992cfa 100644
--- a/app/views/roles/new.html.erb
+++ b/app/views/roles/new.html.erb
@@ -1,4 +1,4 @@
-<h2><%= link_to l(:label_role_plural), roles_path %> &#187; <%=l(:label_role_new)%></h2>
+<%= title [l(:label_role_plural), roles_path], l(:label_role_new) %>
<%= labelled_form_for @role do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
diff --git a/app/views/roles/permissions.html.erb b/app/views/roles/permissions.html.erb
index af78715e0..bf745a66a 100644
--- a/app/views/roles/permissions.html.erb
+++ b/app/views/roles/permissions.html.erb
@@ -1,4 +1,4 @@
-<h2><%= link_to l(:label_role_plural), roles_path %> &#187; <%=l(:label_permissions_report)%></h2>
+<%= title [l(:label_role_plural), roles_path], l(:label_permissions_report) %>
<%= form_tag(permissions_roles_path, :id => 'permissions_form') do %>
<%= hidden_field_tag 'permissions[0]', '', :id => nil %>