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

Avoid that two banners are shown in case a wp is a child AND follows another wp. In that case only the warning should be shown.

Henriette Dargee185de4a1681
diff --git a/frontend/src/app/shared/components/datepicker/banner/datepicker-banner.component.html b/frontend/src/app/shared/components/datepicker/banner/datepicker-banner.component.html
index c405120aafc..14752803d47 100644
--- a/frontend/src/app/shared/components/datepicker/banner/datepicker-banner.component.html
+++ b/frontend/src/app/shared/components/datepicker/banner/datepicker-banner.component.html
@@ -20,7 +20,7 @@
</op-modal-banner>
<ng-container *ngIf="!scheduleManually && !isParent">
<op-modal-banner
- *ngIf="(hasPrecedingRelations$ | async) === true && (hasFollowingRelations$ | async) === false"
+ *ngIf="(hasPrecedingRelations$ | async) === true && (hasFollowingRelations$ | async) === false && !isChild"
type="info"
[title]="text.start_date_limited_by_relations"
[subtitle]="text.click_on_show_relations_to_open_gantt"