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
Fix key for form configuration
Oliver Güntherf82d262946d3
diff --git a/app/helpers/types_helper.rb b/app/helpers/types_helper.rbindex 6fc73f7bbb8..fab6b85098d 100644--- a/app/helpers/types_helper.rb+++ b/app/helpers/types_helper.rb@@ -41,7 +41,7 @@ module ::TypesHelper{name: "form_configuration",partial: "types/form/form_configuration",- path: edit_tab_type_path(id: @type.id, tab: :form_configuration),+ path: edit_tab_type_path(id: @type.id, tab: :edit_attribute_groups),label: "types.edit.form_configuration.tab"},{diff --git a/app/views/types/form/_form_configuration.html.erb b/app/views/types/form/_form_configuration.html.erbindex bd95a67e60c..b60cca58a1e 100644--- a/app/views/types/form/_form_configuration.html.erb+++ b/app/views/types/form/_form_configuration.html.erb@@ -34,10 +34,10 @@ See COPYRIGHT and LICENSE files for more details.<div class="grid-block -visible-overflow wrap"><div class="grid-content -visible-overflow small-12 large-10"><%=- render(EnterpriseEdition::BannerComponent.new(:form_configuration, mb: 3))+ render(EnterpriseEdition::BannerComponent.new(:edit_attribute_groups, mb: 3))%>- <% unless EnterpriseToken.allows_to?(:form_configuration) %>+ <% unless EnterpriseToken.allows_to?(:edit_attribute_groups) %><%= angular_component_tag "opce-no-results",inputs: {title: t("text_form_configuration") + t("text_custom_field_hint_activate_per_project")diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 95cd5a4ccd7..899517ebb82 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -2063,7 +2063,7 @@ en:description: "Create and organize different project phases than the ones provided by PM2 project cycle planning."conditional_highlighting:description: "Need certain work packages to stand out from the mass? Use conditional highlighting in the work packages table."- form_configuration:+ edit_attribute_groups:description: "Customize form configuration with these additional add-ons:"features:groups: "Add new attribute groups"