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 openid providers, ldap groups and custom styles upsale templates

bsatarnejad9f3d5da43b25
diff --git a/app/assets/images/enterprise/ldap-groups.png b/app/assets/images/enterprise/ldap-groups.png
new file mode 100644
index 00000000000..29346ecdc62
Binary files /dev/null and b/app/assets/images/enterprise/ldap-groups.png differ
diff --git a/app/assets/images/enterprise/open-id-providers.png b/app/assets/images/enterprise/open-id-providers.png
new file mode 100644
index 00000000000..145ba4aeb7d
Binary files /dev/null and b/app/assets/images/enterprise/open-id-providers.png differ
diff --git a/app/assets/videos/enterprise/custom-design.mp4 b/app/assets/videos/enterprise/custom-design.mp4
new file mode 100644
index 00000000000..0f6dc75f5d0
Binary files /dev/null and b/app/assets/videos/enterprise/custom-design.mp4 differ
diff --git a/app/views/custom_styles/upsale.html.erb b/app/views/custom_styles/upsale.html.erb
index 14d377b68cb..ccba49d968a 100644
--- a/app/views/custom_styles/upsale.html.erb
+++ b/app/views/custom_styles/upsale.html.erb
@@ -29,19 +29,11 @@ See COPYRIGHT and LICENSE files for more details.
<% html_title t(:label_administration), t(:label_custom_style) %>
-<%= toolbar title: t(:label_custom_style) %>
-
-<p>
- <%= t('admin.custom_styles.customize') %>
-</p>
-<p>
- <%= t('admin.custom_styles.enterprise_notice') %>
-</p>
-<%= link_to( "#{OpenProject::Static::Links.links[:upsale][:href]}/?utm_source=unknown&utm_medium=community-edition&utm_campaign=custom-styles",
- { class: 'button -alt-highlight',
- aria: {label: t('admin.enterprise.order')},
- target: '_blank',
- title: t('admin.enterprise.order')}) do %>
- <%= op_icon('button--icon icon-add') %>
- <span class="button--text"><%= t('admin.enterprise.order') %></span>
-<% end %>
+<%= render template: 'common/upsale',
+ locals: {
+ feature_title: t(:label_custom_style),
+ feature_description: t('admin.custom_styles.customize'),
+ feature_reference: 'enterprise-custom-styles',
+ feature_image: '',
+ feature_video: 'enterprise/custom-design.mp4'
+ } %>
\ No newline at end of file
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 26e6e277a24..34230a9e3c9 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
@@ -5,6 +5,6 @@
feature_title: t('ldap_groups.synchronized_groups.plural'),
feature_description: t('ldap_groups.synchronized_groups.upsale.description'),
feature_reference: 'enterprise-ldap-groups',
- feature_image: '',
+ feature_image: 'enterprise/ldap-groups.png',
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 9eb0abcaae0..64f0bbfaaa3 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
@@ -5,6 +5,6 @@
feature_title: t('openid_connect.providers.plural'),
feature_description: t('openid_connect.providers.upsale.description'),
feature_reference: 'enterprise-openid-connect',
- feature_image: '',
+ feature_image: 'enterprise/open-id-providers.png',
feature_video: ''
} %>