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
adjust for new enterprise banner
Bruno Pagno7d10a6875a03
diff --git a/app/views/projects/settings/work_packages/activities/show.html.erb b/app/views/projects/settings/work_packages/activities/show.html.erbindex 8ec7dbe56c6..735c1d9a7c0 100644--- a/app/views/projects/settings/work_packages/activities/show.html.erb+++ b/app/views/projects/settings/work_packages/activities/show.html.erb@@ -42,11 +42,7 @@ See COPYRIGHT and LICENSE files for more details.<% else %><%=render(- EnterpriseEdition::BannerComponent.new(- :comments_with_restricted_visibility,- href: OpenProject::Static::Links.url_for(:user_guides_work_package_activity),- mb: 3- )+ EnterpriseEdition::BannerComponent.new(:comments_with_restricted_visibility, mb: 3))%><% end %>diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 403780abe8c..f7ec3f07d26 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -2031,6 +2031,7 @@ en:baseline_comparison: Baseline Comparisonsboard_view: Advanced Boardsconditional_highlighting: Conditional Highlighting+ comments_with_restricted_visibility: Comments With Restricted Visibilitycustom_actions: Custom Actionscustom_field_hierarchies: Custom fields of type hierarchycustomize_life_cycle: Customize Life Cyclediff --git a/config/static_links.yml b/config/static_links.ymlindex 698fa053ff3..609e1c077bc 100644--- a/config/static_links.yml+++ b/config/static_links.yml@@ -153,6 +153,8 @@ enterprise_features:href: https://www.openproject.org/docs/user-guide/agile-boards/#action-boards-enterprise-add-oncustom_field_hierarchies:href: https://www.openproject.org/docs/system-admin-guide/custom-fields/#hierarchy-custom-field-enterprise-add-on+ comments_with_restricted_visibility:+ href: https://www.openproject.org/docs/user-guide/activity/#work-package-activitysysadmin_docs:saml:href: https://www.openproject.org/docs/system-admin-guide/authentication/saml/diff --git a/spec/features/projects/settings/work_packages_settings_spec.rb b/spec/features/projects/settings/work_packages_settings_spec.rbindex 16b3ac3140d..bb22f9bfeb8 100644--- a/spec/features/projects/settings/work_packages_settings_spec.rb+++ b/spec/features/projects/settings/work_packages_settings_spec.rb@@ -91,7 +91,7 @@ RSpec.describe "Projects", "work packages settings menu", :js doit "shows the enterprise banner" dowork_packages_settings_page.visit!- expect(page).to have_test_selector("op-ee-banner-comments-with-restricted-visibility")+ expect(page).to have_test_selector("op-enterprise-banner")endend