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

update page header in copy project

Behrokh Satarnejadde07f40e0611
diff --git a/app/views/projects/copy.html.erb b/app/views/projects/copy.html.erb
index 3ff9984f198..d3e510aa7fd 100644
--- a/app/views/projects/copy.html.erb
+++ b/app/views/projects/copy.html.erb
@@ -29,6 +29,11 @@ See COPYRIGHT and LICENSE files for more details.
<% title = t("copy_project.title", source_project_name: @project.name) %>
<% html_title title %>
-<%= toolbar title: title %>
+<%=
+ render Primer::OpenProject::PageHeader.new do |header|
+ header.with_title { title }
+ header.with_breadcrumbs([{ href: project_overview_path(@project.id), text: @project.name },
+ { href: project_settings_general_path(@project.id), text: I18n.t("label_project_settings") },
+ title ]) end %>
<%= angular_component_tag "opce-copy-project" %>