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
Enforce color for tab
Oliver Güntherdc7c31f2e3cc
diff --git a/app/components/types/edit_page_header_component.html.erb b/app/components/types/edit_page_header_component.html.erbindex ec9efa9f4e2..524997804f2 100644--- a/app/components/types/edit_page_header_component.html.erb+++ b/app/components/types/edit_page_header_component.html.erb@@ -37,7 +37,10 @@ See COPYRIGHT and LICENSE files for more details.@tabs.each do |tab|tab_nav.with_tab(selected: selected_tab(@tabs) == tab, href: tab[:path]) do |t|feature = tab[:enterprise_feature]- t.with_icon(icon: :"op-enterprise-addons") if feature && !EnterpriseToken.allows_to?(feature)++ if feature && !EnterpriseToken.allows_to?(feature)+ t.with_icon(icon: :"op-enterprise-addons", classes: "upsale-colored")+ endt.with_text { I18n.t(tab[:label]) }endenddiff --git a/frontend/src/global_styles/content/_enterprise.sass b/frontend/src/global_styles/content/_enterprise.sassindex e94040e4e5a..05bd310b98a 100644--- a/frontend/src/global_styles/content/_enterprise.sass+++ b/frontend/src/global_styles/content/_enterprise.sass@@ -28,7 +28,7 @@align-items: center.upsale-colored- color: var(--enterprise-upsale-color)+ color: var(--enterprise-upsale-color) !important.upsale-colored-backgroundbackground: var(--enterprise-upsale-color) !important