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

fix[Op#54749]: disabled reason doesn't need a label right now

Kabiru Mwenjaf44fd765f8d6
diff --git a/app/components/settings/project_custom_fields/project_custom_field_mapping/new_project_mapping_component.html.erb b/app/components/settings/project_custom_fields/project_custom_field_mapping/new_project_mapping_component.html.erb
index d6d7f4c13ab..d8154803fb8 100644
--- a/app/components/settings/project_custom_fields/project_custom_field_mapping/new_project_mapping_component.html.erb
+++ b/app/components/settings/project_custom_fields/project_custom_field_mapping/new_project_mapping_component.html.erb
@@ -32,11 +32,7 @@
ProjectCustomFieldProjectMapping
.where(project_custom_field: @project_custom_field)
.pluck(:project_id)
- .to_h { |id| [id, project_disabled_reason] }
- end
-
- def project_disabled_reason
- I18n.t("projects.settings.project_custom_fields.new_project_mapping_form.autocompleter_disabled_reason")
+ .to_h { |id| [id, id] }
end
end
%>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 845f868a640..51cf2a69dcf 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -334,8 +334,8 @@ Project attributes and sections are defined in the <a href=%{admin_settings_url}
heading: Required in all projects
description: This project attribute is activated in all projects since the "Required in all projects" option is checked. It cannot be deactivated for individual projects.
new_project_mapping_form:
- add_projects: "Add projects"
- include_sub_projects: "Include sub-projects"
+ add_projects: Add projects
+ include_sub_projects: Include sub-projects
types:
no_results_title_text: There are currently no types available.
form: