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

Inline

Oliver Günther8a350b41eb46
diff --git a/app/views/admin/settings/work_packages_general/_enterprise_feature_hint.html.erb b/app/views/admin/settings/work_packages_general/_enterprise_feature_hint.html.erb
deleted file mode 100644
index 0dfed0a1db9..00000000000
--- a/app/views/admin/settings/work_packages_general/_enterprise_feature_hint.html.erb
+++ /dev/null
@@ -1,13 +0,0 @@
-<% unless EnterpriseToken.allows_to?(ee_feature) %>
- <div class="form--field-extra-actions">
- <%=
- angular_component_tag "opce-enterprise-banner",
- inputs: {
- collapsible: true,
- textMessage: explanation,
- topMargin: true,
- moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:attribute_highlighting][:href]
- }
- %>
- </div>
-<% end %>
diff --git a/app/views/admin/settings/work_packages_general/show.html.erb b/app/views/admin/settings/work_packages_general/show.html.erb
index 74ff926fd66..a62ee75ddc9 100644
--- a/app/views/admin/settings/work_packages_general/show.html.erb
+++ b/app/views/admin/settings/work_packages_general/show.html.erb
@@ -52,9 +52,6 @@ See COPYRIGHT and LICENSE files for more details.
<p data-admin--work-packages-settings-target="warningText"></p>
</div>
</div>
- <%=
- render(EnterpriseEdition::BannerComponent.new(:conditional_highlighting, mb: 3))
- %>
<div class="form--field settings--highlighting-mode">
<%= setting_select(
:work_package_list_default_highlighting_mode,
@@ -66,7 +63,11 @@ See COPYRIGHT and LICENSE files for more details.
options[:disabled] = "disabled" unless EnterpriseToken.allows_to?(:conditional_highlighting)
end
) %>
- </div>
+ <div class="form--field-extra-actions">
+ <%=
+ render(EnterpriseEdition::BannerComponent.new(:conditional_highlighting, mt: 2))
+ %>
+ </div>
<% if EnterpriseToken.allows_to? :conditional_highlighting %>
<div class="form--field -indented -vertical settings--highlighted-attributes" style="<%= "display: none" unless Setting[:work_package_list_default_highlighting_mode] == "inline" %>">
<%= setting_multiselect(