From 8f9f56502d16b822e36089842094a581c090a45f 2009-12-09 10:49:58 From: Jean-Philippe Lang Date: 2009-12-09 10:49:58 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 --- diff --git a/app/views/custom_fields/edit.rhtml b/app/views/custom_fields/edit.rhtml index 8ca7e33..d8a94a9 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 14a35b1..e626ac4 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 } %>