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
Show label only when inactive
Oliver Güntherb79462d51eec
diff --git a/app/components/admin/enumerations/item_component.html.erb b/app/components/admin/enumerations/item_component.html.erbindex 9882d422f8b..c61e8d2ba85 100644--- a/app/components/admin/enumerations/item_component.html.erb+++ b/app/components/admin/enumerations/item_component.html.erb@@ -18,8 +18,10 @@endend- enumeration_info.with_column(mr: 2) do- render(Primer::Beta::Text.new(color: :subtle)) { enumeration.active? ? "Active" : "Inactive" }+ unless enumeration.active?+ enumeration_info.with_column(mr: 2) do+ render(Primer::Beta::Text.new(color: :subtle)) { t(:label_inactive) }+ endendend