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
[#64347] translate custom field formats on index
Tobias Dillmann6774c6e9f1ac
diff --git a/app/components/projects/settings/project_custom_field_sections/custom_field_row_component.html.erb b/app/components/projects/settings/project_custom_field_sections/custom_field_row_component.html.erbindex 7e00e30035c..8bcc2cf52d0 100644--- a/app/components/projects/settings/project_custom_field_sections/custom_field_row_component.html.erb+++ b/app/components/projects/settings/project_custom_field_sections/custom_field_row_component.html.erb@@ -13,7 +13,7 @@endtitle_container.with_column(pt: 1, mr: 2, data: { test_selector: "custom-field-type" }) dorender(Primer::Beta::Text.new(font_size: :small, color: :subtle)) do- @project_custom_field.field_format.capitalize+ t(@project_custom_field.field_format)endendif @project_custom_field.required?diff --git a/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb b/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erbindex 4a8b84596a1..a56d115f78f 100644--- a/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb+++ b/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb@@ -19,7 +19,7 @@endcontent_container.with_column(mr: 2) dorender(Primer::Beta::Text.new(font_size: :small, color: :subtle)) do- @project_custom_field.field_format.capitalize+ t(@project_custom_field.field_format)endendcontent_container.with_column(mr: 2) do