Skip to content

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

[56586] Some pages of Administration/Projects are missing a breadcrumb (#16216)

Behrokh Satarnejade5219e48f534
diff --git a/app/views/admin/settings/new_project_settings/show.html.erb b/app/views/admin/settings/new_project_settings/show.html.erb
index b1f60bb25c6..6bcea0a55d5 100644
--- a/app/views/admin/settings/new_project_settings/show.html.erb
+++ b/app/views/admin/settings/new_project_settings/show.html.erb
@@ -27,7 +27,15 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
<% html_title t(:label_administration), t(:label_project_new) %>
-<%= toolbar title: t(:label_project_new) %>
+
+<%=
+ render(Primer::OpenProject::PageHeader.new) do |header|
+ header.with_title { t(:label_project_new) }
+ header.with_breadcrumbs([{ href: admin_index_path, text: t(:label_administration) },
+ { href: admin_settings_project_custom_fields_path, text: t(:label_project_plural) },
+ t(:label_project_new)])
+ end
+%>
<%= styled_form_tag(admin_settings_new_project_path, method: :patch) do %>
<fieldset class="form--fieldset">