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

Hide enterprise banner for action boards

Christophe Bliarddc394361e10e
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 33429b92f95..d9f673fb6db 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
@@ -1,5 +1,6 @@
<ng-container *ngIf="(board$ | async) as board">
<op-enterprise-banner-frame
+ *ngIf="!board.isFree"
class="boards-list--enterprise-banner"
feature="board_view"
[dismissable]="true"
diff --git a/modules/boards/spec/features/board_enterprise_spec.rb b/modules/boards/spec/features/board_enterprise_spec.rb
index e1d35b7e889..f4011f0393f 100644
--- a/modules/boards/spec/features/board_enterprise_spec.rb
+++ b/modules/boards/spec/features/board_enterprise_spec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) the OpenProject GmbH
@@ -67,6 +69,7 @@ RSpec.describe "Boards enterprise spec", :js do
board_page = board_index.open_board(manual_board)
board_page.expect_query "My board"
+ wait_for_network_idle # wait for the banner to be loaded
expect(page).not_to have_enterprise_banner
board_index.visit!