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
remove confirmation from templated button
Behrokh Satarnejad92c8bf913d8b
diff --git a/app/views/projects/_toolbar.html.erb b/app/views/projects/_toolbar.html.erbindex ec29c5087e5..fca6b2ed69b 100644--- a/app/views/projects/_toolbar.html.erb+++ b/app/views/projects/_toolbar.html.erb@@ -96,7 +96,7 @@ See COPYRIGHT and LICENSE files for more details.tag: :a,label: t("project.template.#{label}"),href: project_templated_path(@project),- content_arguments: { data: { confirm: t('project.archive.are_you_sure', name: @project.name), method: @project.templated ? :delete : :post, } }+ content_arguments: { data: { method: @project.templated ? :delete : :post } }) do |item|item.with_leading_visual_icon(icon: :duplicate) unless @project.templatedend