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 quote link and onboarding video

Inga Mai5f3c3fda703b
diff --git a/app/assets/stylesheets/content/_enterprise.sass b/app/assets/stylesheets/content/_enterprise.sass
index 0aa7f2cdd04..ace9b9da495 100644
--- a/app/assets/stylesheets/content/_enterprise.sass
+++ b/app/assets/stylesheets/content/_enterprise.sass
@@ -13,4 +13,9 @@
.token-form textarea
font-family: "Lucida Console", Monaco, monospace
- max-width: 560px
\ No newline at end of file
+ max-width: 560px
+
+.upsale--actions
+ display: flex
+ flex-wrap: wrap
+ align-items: baseline
\ No newline at end of file
diff --git a/app/helpers/augur_helper.rb b/app/helpers/augur_helper.rb
index 12f736eb85d..b116c2886d6 100644
--- a/app/helpers/augur_helper.rb
+++ b/app/helpers/augur_helper.rb
@@ -4,4 +4,4 @@ module AugurHelper
connect_src: %w(augur.openproject-edge.com)
)
end
-end
\ No newline at end of file
+end
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index e28921cbd89..92627b20a58 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -194,7 +194,7 @@ en:
upsale:
button_start_trial: 'Start free trial'
button_book_now: 'Book now'
- button_quote: 'Get a quote'
+ link_quote: 'Get a quote'
become_hero: "Become a hero!"
benefits:
high_security: "High security features"
diff --git a/frontend/src/app/components/enterprise/enterprise-modal/enterprise-trial.modal.html b/frontend/src/app/components/enterprise/enterprise-modal/enterprise-trial.modal.html
index b62a453c4d2..a856be6b2ee 100644
--- a/frontend/src/app/components/enterprise/enterprise-modal/enterprise-trial.modal.html
+++ b/frontend/src/app/components/enterprise/enterprise-modal/enterprise-trial.modal.html
@@ -90,7 +90,8 @@
<div class="form--check-box-container">
<input type="checkbox"
class="form--check-box"
- formControlName="newsletter_consent">
+ formControlName="newsletter_consent"
+ (change)="receiveNewsletter($event)">
</div>
<span>I want to receive the OpenProject
<a href="https://www.openproject.com/newsletter/" target="_blank">
@@ -118,7 +119,20 @@
</div>
<div *ngIf="status === 'startTrial'">
- <p>Onboarding</p>
+ <h2>Get an overview</h2>
+ <div class="onboarding--video-block">
+ <div class="onboarding--video-text">
+ <span>Get a quick overview of project management and team collaboration with OpenProject.</span>
+ </div>
+ <div class="onboarding--video iframe-target-wrapper">
+ <iframe frameborder="0"
+ height="400"
+ width="100%"
+ allowfullscreen=""
+ src="https://player.vimeo.com/video/163426858?autoplay=1">
+ </iframe>
+ </div>
+ </div>
</div>
</div>
diff --git a/frontend/src/app/components/enterprise/enterprise-modal/enterprise-trial.modal.ts b/frontend/src/app/components/enterprise/enterprise-modal/enterprise-trial.modal.ts
index d7ec7d671e0..502a53cd7b5 100644
--- a/frontend/src/app/components/enterprise/enterprise-modal/enterprise-trial.modal.ts
+++ b/frontend/src/app/components/enterprise/enterprise-modal/enterprise-trial.modal.ts
@@ -230,6 +230,12 @@ export class EnterpriseTrialModal extends OpModalComponent {
});
}
+ public receiveNewsletter(event:any) {
+ if (event.target.checked) {
+ // subscribe to newsletter
+ }
+ }
+
public closeModal(event:any) {
// cancel all actions (e.g. an already send request)
this.cancelled = true;
diff --git a/frontend/src/app/components/enterprise/enterprise.component.html b/frontend/src/app/components/enterprise/enterprise.component.html
index dddda5edfa2..cb29a8f8ba3 100644
--- a/frontend/src/app/components/enterprise/enterprise.component.html
+++ b/frontend/src/app/components/enterprise/enterprise.component.html
@@ -1,5 +1,7 @@
<div class='upsale--actions'>
<button class="button -alt-highlight" (click)="openTrialModal()">{{ text.button_trial }}</button>
<button class="button -highlight">{{ text.button_book }}</button>
- <button class="button">{{ text.button_quote }}</button>
+ <a href="https://www.openproject.org/upgrade-enterprise-edition/" target="_blank">
+ {{ text.link_quote }}
+ </a>
</div>
\ No newline at end of file
diff --git a/frontend/src/app/components/enterprise/enterprise.component.ts b/frontend/src/app/components/enterprise/enterprise.component.ts
index 5f6ee9796c6..1b9f70eca6f 100644
--- a/frontend/src/app/components/enterprise/enterprise.component.ts
+++ b/frontend/src/app/components/enterprise/enterprise.component.ts
@@ -40,7 +40,7 @@ export class EnterpriseComponent {
public text = {
button_trial: this.I18n.t('js.admin.enterprise.upsale.button_start_trial'),
button_book: this.I18n.t('js.admin.enterprise.upsale.button_book_now'),
- button_quote: this.I18n.t('js.admin.enterprise.upsale.button_quote')
+ link_quote: this.I18n.t('js.admin.enterprise.upsale.link_quote')
};
constructor(protected I18n:I18nService,