summaryrefslogtreecommitdiffstats
path: root/app/views/roles
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-07-05 12:22:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-07-05 12:22:02 +0000
commitad90811e4016be9504ae1e0e4846843baa41e0af (patch)
tree3d830106a8b8161532e478d4297b4edd731e45a8 /app/views/roles
parent937823a0d849650c9ecad76d2c5c7b69a93b0856 (diff)
downloadredmine-ad90811e4016be9504ae1e0e4846843baa41e0af.tar.gz
redmine-ad90811e4016be9504ae1e0e4846843baa41e0af.zip
Administration panel breadcrumbs (#3314).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2810 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/roles')
-rw-r--r--app/views/roles/edit.rhtml2
-rw-r--r--app/views/roles/new.rhtml2
-rw-r--r--app/views/roles/report.rhtml2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/roles/edit.rhtml b/app/views/roles/edit.rhtml
index e53a0f545..df3a4f320 100644
--- a/app/views/roles/edit.rhtml
+++ b/app/views/roles/edit.rhtml
@@ -1,4 +1,4 @@
-<h2><%=l(:label_role)%>: <%= @role.name %></h2>
+<h2><%= link_to l(:label_role_plural), :controller => 'roles', :action => 'index' %> &#187; <%= @role.name %></h2>
<% labelled_tabular_form_for :role, @role, :url => { :action => 'edit' }, :html => {:id => 'role_form'} do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
diff --git a/app/views/roles/new.rhtml b/app/views/roles/new.rhtml
index 8f03aefac..fb3e96f8b 100644
--- a/app/views/roles/new.rhtml
+++ b/app/views/roles/new.rhtml
@@ -1,4 +1,4 @@
-<h2><%=l(:label_role_new)%></h2>
+<h2><%= link_to l(:label_role_plural), :controller => 'roles', :action => 'index' %> &#187; <%=l(:label_role_new)%></h2>
<% labelled_tabular_form_for :role, @role, :url => { :action => 'new' }, :html => {:id => 'role_form'} do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
diff --git a/app/views/roles/report.rhtml b/app/views/roles/report.rhtml
index b30730adc..e2b01994e 100644
--- a/app/views/roles/report.rhtml
+++ b/app/views/roles/report.rhtml
@@ -1,4 +1,4 @@
-<h2><%=l(:label_permissions_report)%></h2>
+<h2><%= link_to l(:label_role_plural), :controller => 'roles', :action => 'index' %> &#187; <%=l(:label_permissions_report)%></h2>
<% form_tag({:action => 'report'}, :id => 'permissions_form') do %>
<%= hidden_field_tag 'permissions[0]', '', :id => nil %>