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

update every where we used common upsale template and adding styles for video

bsatarnejadf4d53d15ecd1
diff --git a/app/controllers/custom_actions_controller.rb b/app/controllers/custom_actions_controller.rb
index e5c7c210398..23a7aeac5d0 100644
--- a/app/controllers/custom_actions_controller.rb
+++ b/app/controllers/custom_actions_controller.rb
@@ -94,7 +94,8 @@ class CustomActionsController < ApplicationController
feature_title: I18n.t('custom_actions.upsale.title'),
feature_description: I18n.t('custom_actions.upsale.description'),
feature_reference: 'custom_actions_admin',
- feature_image: ''
+ feature_image: '',
+ feature_video: ''
}
else
render_403
diff --git a/app/views/placeholder_users/index.html.erb b/app/views/placeholder_users/index.html.erb
index 7063707437d..0e7af2d21f2 100644
--- a/app/views/placeholder_users/index.html.erb
+++ b/app/views/placeholder_users/index.html.erb
@@ -58,7 +58,8 @@ See COPYRIGHT and LICENSE files for more details.
feature_title: I18n.t('placeholder_users.upsale.title'),
feature_description: I18n.t('placeholder_users.upsale.description'),
feature_reference: 'placeholder_users',
- feature_image: ''
+ feature_image: '',
+ feature_video: ''
}
%>
<% end %>
diff --git a/frontend/src/global_styles/content/_enterprise.sass b/frontend/src/global_styles/content/_enterprise.sass
index 4c7d4fab3ee..b6fe9cc8975 100644
--- a/frontend/src/global_styles/content/_enterprise.sass
+++ b/frontend/src/global_styles/content/_enterprise.sass
@@ -1,5 +1,5 @@
.upsale-notification
- max-width: 800px
+ max-width: 900px
margin-bottom: 20px
padding-bottom: 20px
text-align: center
@@ -15,6 +15,12 @@
margin-bottom: 20px
border: 1px solid var(--primary-color-dark)
border-radius: 20px
+
+ .widget-box--teaser-video
+ width: 100%
+ margin-bottom: 20px
+ border: 1px solid var(--primary-color-dark)
+ border-radius: 20px
.upsale-actions
display: flex
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 e54851ba7f5..65959f459f7 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
@@ -5,5 +5,6 @@
feature_title: t('team_planner.upsale.title'),
feature_description: t('team_planner.upsale.description'),
feature_reference: 'team_planner',
- feature_image: 'enterprise/team-planner.png'
+ feature_image: 'enterprise/team-planner.png',
+ feature_video: '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 e7743341134..5ec5a1c2ed1 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
@@ -5,6 +5,7 @@
feature_title: t('two_factor_authentication.upsale.title'),
feature_description: t('two_factor_authentication.upsale.description'),
feature_reference: '2fa',
- feature_image: ''
+ feature_image: '',
+ feature_video: ''
} %>