diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-07-05 12:22:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-07-05 12:22:02 +0000 |
commit | ad90811e4016be9504ae1e0e4846843baa41e0af (patch) | |
tree | 3d830106a8b8161532e478d4297b4edd731e45a8 /app/views/roles | |
parent | 937823a0d849650c9ecad76d2c5c7b69a93b0856 (diff) | |
download | redmine-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.rhtml | 2 | ||||
-rw-r--r-- | app/views/roles/new.rhtml | 2 | ||||
-rw-r--r-- | app/views/roles/report.rhtml | 2 |
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' %> » <%= @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' %> » <%=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' %> » <%=l(:label_permissions_report)%></h2> <% form_tag({:action => 'report'}, :id => 'permissions_form') do %> <%= hidden_field_tag 'permissions[0]', '', :id => nil %> |