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

Use saas-compatible check for the enterprise icons

Oliver Günthere49349c61025
diff --git a/app/views/projects/settings/modules/_form.html.erb b/app/views/projects/settings/modules/_form.html.erb
index c975ca83ff9..40c73c1b7ab 100644
--- a/app/views/projects/settings/modules/_form.html.erb
+++ b/app/views/projects/settings/modules/_form.html.erb
@@ -33,7 +33,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="form--field">
<label class="form--label" for="project_enabled_module_names_<%= name %>">
<%= l_or_humanize(name, prefix: "project_module_") %>
- <% if !EnterpriseToken.active? && OpenProject::AccessControl.module_enterprise_feature?(name) %>
+ <% if EnterpriseToken.show_banners? && OpenProject::AccessControl.module_enterprise_feature?(name) %>
<%= spot_icon('enterprise-addons',
inline: true,
size: '1_25',