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
change class name and add a comment for changing the display and visibility for breadcrumb in some pages
bsatarnejad2f210d0d9d4c
diff --git a/frontend/src/app/shared/components/enterprise-page/enterprise-page.component.html b/frontend/src/app/shared/components/enterprise-page/enterprise-page.component.htmlindex ab053749cf9..66c1bd6b7b4 100644--- a/frontend/src/app/shared/components/enterprise-page/enterprise-page.component.html+++ b/frontend/src/app/shared/components/enterprise-page/enterprise-page.component.html@@ -1,5 +1,5 @@<div class="upsale-notification"- [ngClass]="{ 'hide_breadcrumb': hide_breadcrumb }">+ [ngClass]="{ 'upsale-notification_has-breadcrumb': hide_breadcrumb }"><h2 [textContent]="feature_title"></h2><p *ngIf="feature_description">{{feature_description}}</p><p *ngIf="!feature_description" class="upsale--feature-reference">diff --git a/frontend/src/global_styles/content/_enterprise.sass b/frontend/src/global_styles/content/_enterprise.sassindex 9da8903376f..eb8f0ca4c75 100644--- a/frontend/src/global_styles/content/_enterprise.sass+++ b/frontend/src/global_styles/content/_enterprise.sass@@ -57,7 +57,10 @@.enterprise-addons--button-iconfont-size: 1rem !important-:has(.hide_breadcrumb)+// There is a breadcrumb at the top of some of the Enterprise pages showing some spacing,+// but for some other pages without a breadcrumb, there is no space at the top of of the page.+// Therefore, we are just hiding the breadcrumb on top of these pages.+:has(.upsale-notification_has-breadcrumb)#breadcrumb:has(:not(.-show))display: blockvisibility: hiddendiff --git a/modules/team_planner/app/views/team_planner/team_planner/upsale.html.erb b/modules/team_planner/app/views/team_planner/team_planner/upsale.html.erbindex 410d65d7158..9c950c5ac40 100644--- a/modules/team_planner/app/views/team_planner/team_planner/upsale.html.erb+++ b/modules/team_planner/app/views/team_planner/team_planner/upsale.html.erb@@ -6,5 +6,5 @@feature_description: t('team_planner.upsale.description'),feature_reference: 'team_planner',feature_video: 'enterprise/team-planner-animation.mp4',- additional_classes: 'hide_breadcrumb'+ additional_classes: 'upsale-notification_has-breadcrumb'} %>