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

show enterprise banner component while we are opening a seeded action board

bsatarnejad21e75b316039
diff --git a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html
index 3173faaf12e..a583b21e8c5 100644
--- a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html
+++ b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html
@@ -40,12 +40,15 @@
</div>
</div>
</div>
- <op-enterprise-banner
- *ngIf="eeShowBanners"
- [leftMargin]="true"
- [linkMessage]="text.upgrade_to_ee_text"
- [textMessage]="text.teaser_text"
- opReferrer="boards#board-show"
- >
- </op-enterprise-banner>
+ <div class="boards-list--ee-banner"
+ *ngIf="eeShowBanners">
+ <op-enterprise-banner
+ [moreInfoText]="text.more_info_text"
+ [moreInfoLink]="text.more_info_link"
+ [leftMargin]="true"
+ [linkMessage]="text.upgrade_to_ee_text"
+ [textMessage]="text.teaser_text"
+ opReferrer="boards#board-show">
+ </op-enterprise-banner>
+ </div>
</ng-container>
\ No newline at end of file
diff --git a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.sass b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.sass
index 05673d8049b..de87893b3ff 100644
--- a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.sass
+++ b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.sass
@@ -65,3 +65,6 @@ $board-list-top-offset: 18px
.boards-list--tooltip
align-self: start
margin-top: $board-list-top-offset
+
+.boards-list--ee-banner
+ padding-left: 20px
\ No newline at end of file
diff --git a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.ts b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.ts
index ac271a83f69..973a8bbcb09 100644
--- a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.ts
+++ b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.ts
@@ -43,6 +43,8 @@ export class BoardListContainerComponent extends UntilDestroyedMixin implements
hiddenListWarning: this.I18n.t('js.boards.text_hidden_list_warning'),
teaser_text: this.I18n.t('js.boards.upsale.teaser_text'),
upgrade_to_ee_text: this.I18n.t('js.boards.upsale.upgrade'),
+ more_info_text: this.I18n.t('js.boards.upsale.more_info'),
+ more_info_link: 'https://www.openproject.org/docs/user-guide/agile-boards/#action-boards-premium-feature',
};
/** Container reference */
diff --git a/frontend/src/app/features/boards/tile-view/tile-view.component.sass b/frontend/src/app/features/boards/tile-view/tile-view.component.sass
index 36357d8b898..023227496f1 100644
--- a/frontend/src/app/features/boards/tile-view/tile-view.component.sass
+++ b/frontend/src/app/features/boards/tile-view/tile-view.component.sass
@@ -16,6 +16,7 @@
justify-items: left
background: #f7fafc
min-height: 150px
+ margin: auto
&:disabled
background: #fafafa