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

show breadcrumb in project attributes edit page

Behrokh Satarnejadcf7bf7c83e23
diff --git a/app/components/settings/project_custom_fields/edit_form_header_component.html.erb b/app/components/settings/project_custom_fields/edit_form_header_component.html.erb
index 4009432e397..0510a87b407 100644
--- a/app/components/settings/project_custom_fields/edit_form_header_component.html.erb
+++ b/app/components/settings/project_custom_fields/edit_form_header_component.html.erb
@@ -27,12 +27,9 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
<%=
- render(Primer::OpenProject::PageHeader.new) do |header|
+ render(Primer::Ï.new) do |header|
header.with_title(variant: :medium) { @custom_field.name }
header.with_description { t('settings.project_attributes.edit.description') }
- header.with_parent_link(href: admin_settings_project_custom_fields_path, 'aria-label': I18n.t("button_back")) do
- t('settings.project_attributes.heading')
- end
- header.with_back_button(href: admin_settings_project_custom_fields_path, 'aria-label': t('button_back'))
+ header.with_breadcrumbs(breadcrumbs_items)
end
-%>
\ No newline at end of file
+%>