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

[55622] Fix label for status default percent complete in admin

Christophe Bliard82a3b27bf1b8
diff --git a/app/views/statuses/_form.html.erb b/app/views/statuses/_form.html.erb
index d2e43dab859..036367bd68d 100644
--- a/app/views/statuses/_form.html.erb
+++ b/app/views/statuses/_form.html.erb
@@ -34,7 +34,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="form--field">
<%= f.select :default_done_ratio,
(0..100).step(10).map { |r| ["#{r} %", r] },
- { container_class: "-xslim" },
+ container_class: "-xslim",
label: WorkPackage.human_attribute_name(:done_ratio) %>
</div>
<div class="form--field"><%= f.check_box "is_closed" %></div>