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

add more info to upsale common template

bsatarnejadafedbd393a75
diff --git a/app/views/common/upsale.html.erb b/app/views/common/upsale.html.erb
index 2e30963ab44..81953379fb2 100644
--- a/app/views/common/upsale.html.erb
+++ b/app/views/common/upsale.html.erb
@@ -19,7 +19,11 @@
<%= feature_description %>
</p>
<% end %>
-
+
+ <p class="upsale--feature-reference">
+ <%= feature_more_info %>
+ </p>
+
<% if feature_video.empty? %>
<% if feature_image.empty? %>
<%= image_tag "enterprise_edition.png", class: "widget-box--teaser-image_default" %>
@@ -35,7 +39,7 @@
<%= t('admin.enterprise.upgrade_info') %>
</p>
<%= link_to( "https://www.openproject.org/contact-us/",
- { class: 'button -highlight-inverted',
+ { class: 'button',
aria: {label: t('admin.enterprise.buttons.contact')},
target: '_blank',
title: t('admin.enterprise.buttons.contact')}) do %>
diff --git a/app/views/custom_styles/upsale.html.erb b/app/views/custom_styles/upsale.html.erb
index ccba49d968a..d195ad30247 100644
--- a/app/views/custom_styles/upsale.html.erb
+++ b/app/views/custom_styles/upsale.html.erb
@@ -33,6 +33,7 @@ See COPYRIGHT and LICENSE files for more details.
locals: {
feature_title: t(:label_custom_style),
feature_description: t('admin.custom_styles.customize'),
+ feature_more_info: t('admin.custom_styles.enterprise_more_info'),
feature_reference: 'enterprise-custom-styles',
feature_image: '',
feature_video: 'enterprise/custom-design.mp4'
diff --git a/app/views/placeholder_users/index.html.erb b/app/views/placeholder_users/index.html.erb
index c9bd27bb8c9..a56b5cc9589 100644
--- a/app/views/placeholder_users/index.html.erb
+++ b/app/views/placeholder_users/index.html.erb
@@ -57,6 +57,7 @@ See COPYRIGHT and LICENSE files for more details.
locals: {
feature_title: I18n.t('placeholder_users.upsale.title'),
feature_description: I18n.t('placeholder_users.upsale.description'),
+ feature_more_info: '',
feature_reference: 'placeholder_users',
feature_image: '',
feature_video: 'enterprise/placeholder_users.mp4'
diff --git a/config/locales/en.yml b/config/locales/en.yml
index e98738300dc..a39ab523304 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -57,8 +57,9 @@ en:
main-menu-hover-font-color: "Main menu font on hover"
main-menu-border-color: "Main menu border"
custom_colors: "Custom colors"
- customize: "Customize your OpenProject installation with your own logo. Note: This logo will be publicly accessible."
+ customize: "Customize your OpenProject installation with your own logo and colors."
enterprise_notice: "As a special 'Thank you!' for their financial contribution to develop OpenProject, this tiny feature is only available for Enterprise Edition support subscribers."
+ enterprise_more_info: "Note: the used logo will be publicly accessible."
manage_colors: "Edit color select options"
instructions:
alternative-color: "Strong accent color, typically used for the most important button on a screen."
diff --git a/frontend/src/app/shared/components/grids/widgets/add/add.modal.html b/frontend/src/app/shared/components/grids/widgets/add/add.modal.html
index e39521c63fb..42ee0ee3620 100644
--- a/frontend/src/app/shared/components/grids/widgets/add/add.modal.html
+++ b/frontend/src/app/shared/components/grids/widgets/add/add.modal.html
@@ -5,13 +5,6 @@
<op-modal-header (close)="closeMe($event)">{{text.title}}</op-modal-header>
<div class="ngdialog-body op-modal--body">
- <div
- *ngFor="let widget of selectable;trackBy: trackWidgetBy"
- (click)="select($event, widget)"
- [id]="widget.identifier"
- [textContent]="widget.title"
- class="grid--addable-widget"
- ></div>
<op-enterprise-banner
*ngIf="eeShowBanners"
@@ -22,5 +15,13 @@
class="grid--add-widget-ee"
opReferrer="grids#add-widget"
></op-enterprise-banner>
+
+ <div
+ *ngFor="let widget of selectable;trackBy: trackWidgetBy"
+ (click)="select($event, widget)"
+ [id]="widget.identifier"
+ [textContent]="widget.title"
+ class="grid--addable-widget"
+ ></div>
</div>
</div>
diff --git a/frontend/src/global_styles/openproject/_homescreen.sass b/frontend/src/global_styles/openproject/_homescreen.sass
index e53560c25e6..7332cbe0518 100644
--- a/frontend/src/global_styles/openproject/_homescreen.sass
+++ b/frontend/src/global_styles/openproject/_homescreen.sass
@@ -32,6 +32,9 @@
.widget-box
box-shadow: none
border: 1px solid var(--content-default-border-color)
+
+ &.upsale
+ background: $spot-color-feedback-info-light
.controller-homescreen #breadcrumb
display: none
diff --git a/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/upsale.html.erb b/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/upsale.html.erb
index d0111ba267c..69781fb95f9 100644
--- a/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/upsale.html.erb
+++ b/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/upsale.html.erb
@@ -4,6 +4,7 @@
locals: {
feature_title: t('ldap_groups.synchronized_groups.plural'),
feature_description: t('ldap_groups.synchronized_groups.upsale.description'),
+ feature_more_info: '',
feature_reference: 'enterprise-ldap-groups',
feature_image: 'enterprise/ldap-groups.jpg',
feature_video: ''
diff --git a/modules/openid_connect/app/views/openid_connect/providers/upsale.html.erb b/modules/openid_connect/app/views/openid_connect/providers/upsale.html.erb
index 9dd5ba85636..23d78f65c74 100644
--- a/modules/openid_connect/app/views/openid_connect/providers/upsale.html.erb
+++ b/modules/openid_connect/app/views/openid_connect/providers/upsale.html.erb
@@ -4,6 +4,7 @@
locals: {
feature_title: t('openid_connect.providers.plural'),
feature_description: t('openid_connect.providers.upsale.description'),
+ feature_more_info: '',
feature_reference: 'enterprise-openid-connect',
feature_image: 'enterprise/open-id-providers.jpg',
feature_video: ''
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 26da9f27a7d..2c6e2e25116 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
@@ -4,6 +4,7 @@
locals: {
feature_title: t('team_planner.upsale.title'),
feature_description: t('team_planner.upsale.description'),
+ feature_more_info: '',
feature_reference: 'team_planner',
feature_image: '',
feature_video: 'enterprise/team-planner-animation.mp4'
diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/upsale.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/upsale.html.erb
index 0acc284ab72..53805e6c6a9 100644
--- a/modules/two_factor_authentication/app/views/two_factor_authentication/upsale.html.erb
+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/upsale.html.erb
@@ -4,6 +4,7 @@
locals: {
feature_title: t('two_factor_authentication.upsale.title'),
feature_description: t('two_factor_authentication.upsale.description'),
+ feature_more_info: '',
feature_reference: '2fa',
feature_image: 'enterprise/two-factor-authentication.jpg',
feature_video: ''