OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
cleaner creation of additional breadcrumb
Ivan Kuchin83eab3643088
diff --git a/app/views/custom_fields/edit.html.erb b/app/views/custom_fields/edit.html.erbindex db86839e2bd..189a2975f37 100644--- a/app/views/custom_fields/edit.html.erb+++ b/app/views/custom_fields/edit.html.erb@@ -30,9 +30,10 @@ See COPYRIGHT and LICENSE files for more details.<% content_controller 'admin--custom-fields', dynamic: true %><% html_title t(:label_administration), "#{t(:label_edit)} #{CustomField.model_name.human} #{h @custom_field.name}" %>--<% local_assigns[:additional_breadcrumb] = link_to(I18n.t(@custom_field.type_name), custom_fields_path(tab: @custom_field.type)),- @custom_field.name %>+<% local_assigns[:additional_breadcrumb] = [+ link_to(I18n.t(@custom_field.type_name), custom_fields_path(tab: @custom_field.type)),+ @custom_field.name+] %><%= breadcrumb_toolbar @custom_field.name %><%= error_messages_for 'custom_field' %>diff --git a/app/views/custom_fields/new.html.erb b/app/views/custom_fields/new.html.erbindex 47f09175111..2f62999a299 100644--- a/app/views/custom_fields/new.html.erb+++ b/app/views/custom_fields/new.html.erb@@ -30,9 +30,12 @@ See COPYRIGHT and LICENSE files for more details.<% content_controller 'admin--custom-fields', dynamic: true %><% html_title t(:label_administration), t(:label_custom_field_new) %>-<% local_assigns[:additional_breadcrumb] = link_to(I18n.t(@custom_field.type_name), custom_fields_path(tab: @custom_field.type)),- t(:label_custom_field_new) %>+<% local_assigns[:additional_breadcrumb] = [+ link_to(I18n.t(@custom_field.type_name), custom_fields_path(tab: @custom_field.type)),+ t(:label_custom_field_new)+] %><%= breadcrumb_toolbar t(:label_custom_field_new) %>+<%= error_messages_for 'custom_field' %><%= labelled_tabular_form_for @custom_field, as: :custom_field,