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

User danger scheme for delete button

Henriette Darge7d71352ed77c
diff --git a/modules/reporting/lib/widget/controls/delete.rb b/modules/reporting/lib/widget/controls/delete.rb
index 68d43791578..29c3aee230f 100644
--- a/modules/reporting/lib/widget/controls/delete.rb
+++ b/modules/reporting/lib/widget/controls/delete.rb
@@ -42,7 +42,7 @@ class Widget::Controls::Delete < Widget::Controls
opt1 = link_to I18n.t(:button_delete),
url_for(url_opts),
method: :delete,
- class: "button -primary icon-context icon-delete"
+ class: "button -danger icon-context icon-delete"
opt2 = link_to I18n.t(:button_cancel),
"#",
id: "query-icon-delete-cancel",