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

Copy project page not support turbo navigate yet.

Eric Guo67b70e90b992
diff --git a/app/components/projects/row_component.rb b/app/components/projects/row_component.rb
index d7765f9d451..813360e27a0 100644
--- a/app/components/projects/row_component.rb
+++ b/app/components/projects/row_component.rb
@@ -342,7 +342,8 @@ module Projects
scheme: :default,
icon: :copy,
label: I18n.t(:button_copy),
- href: copy_project_path(project)
+ href: copy_project_path(project),
+ data: { turbo: false }
}
end
end
diff --git a/app/views/projects/_toolbar.html.erb b/app/views/projects/_toolbar.html.erb
index fbfa41072e2..a9f699a2729 100644
--- a/app/views/projects/_toolbar.html.erb
+++ b/app/views/projects/_toolbar.html.erb
@@ -47,7 +47,7 @@ See COPYRIGHT and LICENSE files for more details.
</li>
<% if @project.copy_allowed? %>
<li class="toolbar-item hidden-for-tablet">
- <%= link_to copy_project_path(@project), class: 'button copy', accesskey: accesskey(:copy) do %>
+ <%= link_to copy_project_path(@project), class: 'button copy', accesskey: accesskey(:copy), data: { turbo: false } do %>
<%= op_icon('button--icon icon-copy') %>
<span class="button--text"><%= t(:button_copy) %></span>
<% end %>