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

change has-breadcrumb to hide-breadcrumb

bsatarnejade38397fc6040
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.html
index 66c1bd6b7b4..df8499a60de 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]="{ 'upsale-notification_has-breadcrumb': hide_breadcrumb }">
+ [ngClass]="{ 'upsale-notification_hide-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.sass
index eb8f0ca4c75..981cb08e35a 100644
--- a/frontend/src/global_styles/content/_enterprise.sass
+++ b/frontend/src/global_styles/content/_enterprise.sass
@@ -60,7 +60,7 @@
// 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)
+:has(.upsale-notification_hide-breadcrumb)
#breadcrumb:has(:not(.-show))
display: block
visibility: hidden
diff --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.erb
index 9c950c5ac40..8cf25ff412e 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: 'upsale-notification_has-breadcrumb'
+ additional_classes: 'upsale-notification_hide-breadcrumb'
} %>