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
Re-use `.active?` in `show_banners?`
Aaron Contreras78710667b69e
diff --git a/app/models/enterprise_token.rb b/app/models/enterprise_token.rbindex e35a913cdfc..8e9d58f00aa 100644--- a/app/models/enterprise_token.rb+++ b/app/models/enterprise_token.rb@@ -46,7 +46,7 @@ class EnterpriseToken < ApplicationRecordenddef show_banners?- OpenProject::Configuration.ee_manager_visible? && (!current || current.expired?)+ OpenProject::Configuration.ee_manager_visible? && !active?enddef set_current_token