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
Attempt to make the EE page more structured
Henriette Dingercbc45b590bfe
diff --git a/app/assets/stylesheets/content/_enterprise.sass b/app/assets/stylesheets/content/_enterprise.sassindex 48930ceca41..9ba6e866c78 100644--- a/app/assets/stylesheets/content/_enterprise.sass+++ b/app/assets/stylesheets/content/_enterprise.sass@@ -11,14 +11,17 @@.upsale--feature-referencepadding-bottom: 2rem-.token-form textarea- font-family: "Lucida Console", Monaco, monospace- max-width: 560px--.upsale--actions+.upsale-actionsdisplay: flexflex-wrap: wrapalign-items: baseline.openproject--static-link- margin-left: 1rem\ No newline at end of file+ margin-left: 1rem++.upsale--information-container+ margin-bottom: 40px++.token-form textarea+ font-family: "Lucida Console", Monaco, monospace+ max-width: 560pxdiff --git a/app/views/enterprises/_info.html.erb b/app/views/enterprises/_info.html.erbindex 08ec980ae35..2c908d7a5d9 100644--- a/app/views/enterprises/_info.html.erb+++ b/app/views/enterprises/_info.html.erb@@ -32,31 +32,32 @@ See docs/COPYRIGHT.rdoc for more details.</script><% end %>-<enterprise-base></enterprise-base>+<div class="upsale--information-container">+ <div class='upsale-information'>+ <enterprise-base></enterprise-base>+ </div>-<div class='upsale--actions'>- <a href="#"- class="button -highlight"- data-cb-type="checkout"- data-cb-plan-id="enterprise-edition---annual-user-license">- <%= t('admin.enterprise.book_now') %>- </a>+ <div class='upsale-actions'>+ <a href="#"+ class="button -highlight-inverted"+ data-cb-type="checkout"+ data-cb-plan-id="enterprise-edition---annual-user-license">+ <%= t('admin.enterprise.book_now') %>+ </a>- <% quote_link = OpenProject::Static::Links.links.fetch :upsale_get_quote %>- <%= link_to t(quote_link[:label]),- quote_link[:href],- target: '_blank',- class: 'button -highlight'%>+ <% quote_link = OpenProject::Static::Links.links.fetch :upsale_get_quote %>+ <%= link_to t(quote_link[:label]),+ quote_link[:href],+ target: '_blank',+ class: 'button -highlight-inverted'%>+ </div><%= static_link_to :contact %></div>-<p>- <b><%= t('js.admin.enterprise.upsale.confidence') %></b>-</p>-<div class="info-boxes upsale-benefits"><h3 class="info-boxes--title -no-border"><%= t('js.admin.enterprise.upsale.benefits.description') %></h3>+<div class="info-boxes--container"><div class="info-boxes--item"><%= image_tag "installation_alerts.svg",diff --git a/app/views/homescreen/blocks/_upsale.html.erb b/app/views/homescreen/blocks/_upsale.html.erbindex 833dacf712f..8265a594df8 100644--- a/app/views/homescreen/blocks/_upsale.html.erb+++ b/app/views/homescreen/blocks/_upsale.html.erb@@ -13,7 +13,7 @@<% end %><%= link_to "#{OpenProject::Static::Links.links[:upsale][:href]}/?utm_source=unknown&utm_medium=community-edition&utm_campaign=home-screen",- { class: 'button -highlight',+ { class: 'button -highlight-inverted',aria: {label: t('homescreen.blocks.upsale.more_info')},target: '_blank',title: t('homescreen.blocks.upsale.more_info')} do %>diff --git a/frontend/src/app/components/enterprise/enterprise-base.component.html b/frontend/src/app/components/enterprise/enterprise-base.component.htmlindex cbcae309995..3b8eb36dbf1 100644--- a/frontend/src/app/components/enterprise/enterprise-base.component.html+++ b/frontend/src/app/components/enterprise/enterprise-base.component.html@@ -1,10 +1,9 @@<div *ngIf="noTrialRequested; else alreadyRequested">+ <p>{{ text.enterprise_edition }}</p>+ <p class="-bold">{{ text.confidence }}</p><p>- <b>{{ text.text }}</b>- </p>- <p>- <b>{{ text.become_hero }}</b><br>- {{ text.you_contribute }}+ <span class="-bold">{{ text.become_hero }}</span><br>+ <span>{{ text.you_contribute }}</span></p><button class="button -alt-highlight" (click)="openTrialModal()">{{ text.button_trial }}diff --git a/frontend/src/app/components/enterprise/enterprise-base.component.ts b/frontend/src/app/components/enterprise/enterprise-base.component.tsindex 02168a59793..923834e46f6 100644--- a/frontend/src/app/components/enterprise/enterprise-base.component.ts+++ b/frontend/src/app/components/enterprise/enterprise-base.component.ts@@ -48,7 +48,8 @@ export class EnterpriseBaseComponent {become_hero: this.I18n.t('js.admin.enterprise.upsale.become_hero'),you_contribute: this.I18n.t('js.admin.enterprise.upsale.you_contribute'),email_not_received: this.I18n.t('js.admin.enterprise.trial.email_not_received'),- text: this.I18n.t('js.admin.enterprise.upsale.text'),+ enterprise_edition: this.I18n.t('js.admin.enterprise.upsale.text'),+ confidence: this.I18n.t('js.admin.enterprise.upsale.confidence'),try_another_email: this.I18n.t('js.admin.enterprise.trial.try_another_email')};