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
Fix header title in Duplicate work package page
Christophe Bliardcbe07e60840f
diff --git a/app/views/work_packages/moves/new.html.erb b/app/views/work_packages/moves/new.html.erbindex 75739dd2441..0716988d169 100644--- a/app/views/work_packages/moves/new.html.erb+++ b/app/views/work_packages/moves/new.html.erb@@ -33,12 +33,12 @@ See COPYRIGHT and LICENSE files for more details.<%=render Primer::OpenProject::PageHeader.new do |header|- header.with_title { @copy ? t(:button_copy) : t(:button_move) }+ header.with_title { @copy ? t(:button_duplicate) : t(:button_move) }header.with_breadcrumbs([*([href: project_overview_path(@project.id), text: @project.name] if @project),{ href: project_work_packages_path(@project), text: t(:label_work_package_plural) },*(single_wp ? [{ href: work_package_path(single_wp), text: single_wp.subject }] : []),- @copy ? t(:button_copy) : t(:button_move)]+ @copy ? t(:button_duplicate) : t(:button_move)])end%>