OSDN Git Service

Slight change to the breadcrumb on custom field admin views.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 9 Dec 2009 10:49:58 +0000 (10:49 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 9 Dec 2009 10:49:58 +0000 (10:49 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3144 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/custom_fields/edit.rhtml
app/views/custom_fields/new.rhtml

index 8ca7e33..d8a94a9 100644 (file)
@@ -1,5 +1,6 @@
-<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>
+<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> 
+  &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %>
+  &#187; <%=h @custom_field.name %></h2>
 
 <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "edit", :id => @custom_field } do |f| %>
 <%= render :partial => 'form', :locals => { :f => f } %>
index 14a35b1..e626ac4 100644 (file)
@@ -1,5 +1,6 @@
-<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>
+<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %>
+  &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %>
+  &#187; <%= l(:label_custom_field_new) %></h2>
 
 <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %>
 <%= render :partial => 'form', :locals => { :f => f } %>