summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields
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/custom_fields
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/custom_fields')
-rw-r--r--app/views/custom_fields/edit.rhtml3
-rw-r--r--app/views/custom_fields/new.rhtml3
2 files changed, 4 insertions, 2 deletions
diff --git a/app/views/custom_fields/edit.rhtml b/app/views/custom_fields/edit.rhtml
index ef056fa41..8ca7e33ba 100644
--- a/app/views/custom_fields/edit.rhtml
+++ b/app/views/custom_fields/edit.rhtml
@@ -1,4 +1,5 @@
-<h2><%=l(:label_custom_field)%> (<%=l(@custom_field.type_name)%>)</h2>
+<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %>
+ &#187; <%=h @custom_field.name %> (<%=l(@custom_field.type_name)%>)</h2>
<% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "edit", :id => @custom_field } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
diff --git a/app/views/custom_fields/new.rhtml b/app/views/custom_fields/new.rhtml
index 2e8aa2750..14a35b1f5 100644
--- a/app/views/custom_fields/new.rhtml
+++ b/app/views/custom_fields/new.rhtml
@@ -1,4 +1,5 @@
-<h2><%=l(:label_custom_field_new)%> (<%=l(@custom_field.type_name)%>)</h2>
+<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %>
+ &#187; <%=l(:label_custom_field_new)%> (<%=l(@custom_field.type_name)%>)</h2>
<% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>