From 8f9f56502d16b822e36089842094a581c090a45f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 9 Dec 2009 10:49:58 +0000 Subject: [PATCH] Slight change to the breadcrumb on custom field admin views. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3144 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/custom_fields/edit.rhtml | 5 +++-- app/views/custom_fields/new.rhtml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/views/custom_fields/edit.rhtml b/app/views/custom_fields/edit.rhtml index 8ca7e33ba..d8a94a955 100644 --- a/app/views/custom_fields/edit.rhtml +++ b/app/views/custom_fields/edit.rhtml @@ -1,5 +1,6 @@ -

<%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %> - » <%=h @custom_field.name %> (<%=l(@custom_field.type_name)%>)

+

<%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> + » <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %> + » <%=h @custom_field.name %>

<% 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 14a35b1f5..e626ac4d6 100644 --- a/app/views/custom_fields/new.rhtml +++ b/app/views/custom_fields/new.rhtml @@ -1,5 +1,6 @@ -

<%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %> - » <%=l(:label_custom_field_new)%> (<%=l(@custom_field.type_name)%>)

+

<%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> + » <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %> + » <%= l(:label_custom_field_new) %>

<% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> -- 2.39.5