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
[58411] Show enterprise banner on new board page
Christophe Bliardec708dfae750
diff --git a/frontend/src/global_styles/content/_forms.sass b/frontend/src/global_styles/content/_forms.sassindex 426f2538857..3d31e444841 100644--- a/frontend/src/global_styles/content/_forms.sass+++ b/frontend/src/global_styles/content/_forms.sass@@ -173,6 +173,13 @@ form.-columns-2column-count: 2+ // follows new board page columns width (which uses -wide class (500px) for its tiles)+ .boards-enterprise-banner-wide+ max-width: calc(2*500px + 1rem)++ @media screen and (max-width: $breakpoint-md)+ .boards-enterprise-banner-wide+ max-width: 500pxhrwidth: 100%diff --git a/modules/boards/app/views/boards/boards/_form.html.erb b/modules/boards/app/views/boards/boards/_form.html.erbindex c13aae3dbb1..3342ccb7055 100644--- a/modules/boards/app/views/boards/boards/_form.html.erb+++ b/modules/boards/app/views/boards/boards/_form.html.erb@@ -63,8 +63,8 @@ See COPYRIGHT and LICENSE files for more details.<label class="form--label" for="board_type"><%= t('boards.label_board_type') %></label><div class="form--field-container -enterprise-restricted"><% unless EnterpriseToken.allows_to?(:board_view) %>- <p>- <%= angular_component_tag 'op-enterprise-banner',+ <p class="boards-enterprise-banner-wide">+ <%= angular_component_tag 'opce-enterprise-banner',inputs: {collapsible: false,opReferrer: 'boards',