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
Replace status banner
Oliver Günther42063f059bdc
diff --git a/app/forms/statuses/form.rb b/app/forms/statuses/form.rbindex c8b3c46490e..2948f1356aa 100644--- a/app/forms/statuses/form.rb+++ b/app/forms/statuses/form.rb@@ -88,12 +88,7 @@ module Statusesif readonly_work_packages_restricted?statuses_form.html_content do- angular_component_tag "opce-enterprise-banner",- inputs: {- collapsible: true,- textMessage: t("text_wp_status_read_only_html"),- moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:status_read_only][:href]- }+ render(EnterpriseEdition::BannerComponent.new(:readonly_work_packages))endenddiff --git a/config/locales/en.yml b/config/locales/en.ymlindex ff52f90e0af..d3077a600bb 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -2057,6 +2057,8 @@ en:groups: "Add new attribute groups"rename: "Rename attribute groups"related: "Add a table of related work packages"+ readonly_work_packages:+ description: "Mark work packages as read-only for specific statuses."enumeration_activities: "Time tracking activities"enumeration_work_package_priorities: "Work package priorities"@@ -4044,12 +4046,6 @@ en:text_custom_field_hint_activate_per_project_and_type: >Custom fields need to be activated per workpackage type and per project.- text_wp_status_read_only_html: >- The Enterprise edition will add these additional add-ons for- work packages' statuses fields: <br>- <ul>- <li><b>Allow to mark work packages to read-only for specific statuses</b></li>- </ul>text_project_custom_field_html: >The Enterprise edition will add these additional add-ons for projects' custom fields: <br><ul>diff --git a/config/static_links.yml b/config/static_links.ymlindex 9b470df87fd..752358374b8 100644--- a/config/static_links.yml+++ b/config/static_links.yml@@ -143,7 +143,7 @@ enterprise_docs:href: https://www.openproject.org/docs/system-admin-guide/custom-fields/custom-fields-projects/custom_field_multiselect:href: https://www.openproject.org/docs/system-admin-guide/custom-fields/#create-a-multi-select-custom-field- status_read_only:+ readonly_work_packages:href: https://www.openproject.org/docs/system-admin-guide/manage-work-packages/work-package-status/#create-a-new-work-package-statuscustomize_life_cycle:href: https://www.openproject.org/enterprise-edition