mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #8874 from overleaf/tm-revert-personal-price-experiment
Revert personal plan discount experiment to original pricing GitOrigin-RevId: 3134a187e4900570580c3717fe0e19077399eb4d
This commit is contained in:
@@ -132,13 +132,6 @@ mixin gen_localized_price_for_plan_view(plan, view)
|
|||||||
data-ol-currencyCode=currencyCode
|
data-ol-currencyCode=currencyCode
|
||||||
) #{settings.localizedPlanPricing[currencyCode][plan][view]}
|
) #{settings.localizedPlanPricing[currencyCode][plan][view]}
|
||||||
|
|
||||||
mixin gen_localized_undiscounted_price_for_plan_view_personal(view)
|
|
||||||
for currencyCode in Object.keys(settings.localizedPlanPricing)
|
|
||||||
span(
|
|
||||||
hidden=(currencyCode !== recommendedCurrency)
|
|
||||||
data-ol-currencyCode=currencyCode
|
|
||||||
) #{settings.localizedPlanPricing[currencyCode]['personal']['withoutDiscount'][view]}
|
|
||||||
|
|
||||||
mixin gen_localized_undiscounted_price_for_plan_view(plan)
|
mixin gen_localized_undiscounted_price_for_plan_view(plan)
|
||||||
for currencyCode in Object.keys(settings.localizedPlanPricing)
|
for currencyCode in Object.keys(settings.localizedPlanPricing)
|
||||||
span(
|
span(
|
||||||
@@ -155,18 +148,6 @@ mixin gen_localized_price_for_plan(plan)
|
|||||||
+gen_localized_price_for_plan_view(plan, 'annual')
|
+gen_localized_price_for_plan_view(plan, 'annual')
|
||||||
span.small /yr
|
span.small /yr
|
||||||
|
|
||||||
mixin gen_localized_undiscounted_price_for_plan_personal()
|
|
||||||
div(data-ol-view='monthly')
|
|
||||||
strike.undiscounted-price.small
|
|
||||||
span.sr-only Price reduced from
|
|
||||||
+gen_localized_undiscounted_price_for_plan_view_personal('monthly')
|
|
||||||
| /mo
|
|
||||||
div(hidden data-ol-view='annual')
|
|
||||||
strike.undiscounted-price.small
|
|
||||||
span.sr-only Price reduced from
|
|
||||||
+gen_localized_undiscounted_price_for_plan_view_personal('annual')
|
|
||||||
| /yr
|
|
||||||
|
|
||||||
mixin gen_localized_undiscounted_price_for_plan(plan)
|
mixin gen_localized_undiscounted_price_for_plan(plan)
|
||||||
div(hidden data-ol-view='annual')
|
div(hidden data-ol-view='annual')
|
||||||
strike.undiscounted-price.small
|
strike.undiscounted-price.small
|
||||||
@@ -178,7 +159,7 @@ mixin gen_localized_undiscounted_price_for_plan(plan)
|
|||||||
mixin price_personal
|
mixin price_personal
|
||||||
+gen_localized_price_for_plan('personal')
|
+gen_localized_price_for_plan('personal')
|
||||||
mixin price_personal_undiscounted
|
mixin price_personal_undiscounted
|
||||||
+gen_localized_undiscounted_price_for_plan_personal()
|
+gen_localized_undiscounted_price_for_plan('personal')
|
||||||
mixin price_collaborator
|
mixin price_collaborator
|
||||||
+gen_localized_price_for_plan('collaborator')
|
+gen_localized_price_for_plan('collaborator')
|
||||||
mixin price_collaborator_undiscounted
|
mixin price_collaborator_undiscounted
|
||||||
@@ -261,7 +242,6 @@ mixin allCardsAndControls(controlsRowSpaced, listLocation)
|
|||||||
h2 #{translate("personal")}
|
h2 #{translate("personal")}
|
||||||
.card-byline
|
.card-byline
|
||||||
h5.tagline #{translate("tagline_personal")}
|
h5.tagline #{translate("tagline_personal")}
|
||||||
h5.special-offer #{translate("limited_time_discount")}
|
|
||||||
.circle
|
.circle
|
||||||
+price_personal
|
+price_personal
|
||||||
+price_personal_undiscounted
|
+price_personal_undiscounted
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ App.factory('MultiCurrencyPricing', function () {
|
|||||||
annual: '$80',
|
annual: '$80',
|
||||||
},
|
},
|
||||||
personal: {
|
personal: {
|
||||||
monthly: '$5',
|
monthly: '$13',
|
||||||
annual: '$49',
|
annual: '$120',
|
||||||
},
|
},
|
||||||
collaborator: {
|
collaborator: {
|
||||||
monthly: '$19',
|
monthly: '$19',
|
||||||
@@ -38,8 +38,8 @@ App.factory('MultiCurrencyPricing', function () {
|
|||||||
annual: '€70',
|
annual: '€70',
|
||||||
},
|
},
|
||||||
personal: {
|
personal: {
|
||||||
monthly: '€5',
|
monthly: '€12',
|
||||||
annual: '€44',
|
annual: '€108',
|
||||||
},
|
},
|
||||||
collaborator: {
|
collaborator: {
|
||||||
monthly: '€18',
|
monthly: '€18',
|
||||||
@@ -58,8 +58,8 @@ App.factory('MultiCurrencyPricing', function () {
|
|||||||
annual: '£60',
|
annual: '£60',
|
||||||
},
|
},
|
||||||
personal: {
|
personal: {
|
||||||
monthly: '£4',
|
monthly: '£10',
|
||||||
annual: '£39',
|
annual: '£96',
|
||||||
},
|
},
|
||||||
collaborator: {
|
collaborator: {
|
||||||
monthly: '£15',
|
monthly: '£15',
|
||||||
@@ -78,8 +78,8 @@ App.factory('MultiCurrencyPricing', function () {
|
|||||||
annual: '600 kr',
|
annual: '600 kr',
|
||||||
},
|
},
|
||||||
personal: {
|
personal: {
|
||||||
monthly: '35 kr',
|
monthly: '92 kr',
|
||||||
annual: '359 kr',
|
annual: '876 kr',
|
||||||
},
|
},
|
||||||
collaborator: {
|
collaborator: {
|
||||||
monthly: '138 kr',
|
monthly: '138 kr',
|
||||||
@@ -97,8 +97,8 @@ App.factory('MultiCurrencyPricing', function () {
|
|||||||
annual: '$90',
|
annual: '$90',
|
||||||
},
|
},
|
||||||
personal: {
|
personal: {
|
||||||
monthly: '$5',
|
monthly: '$14',
|
||||||
annual: '$55',
|
annual: '$132',
|
||||||
},
|
},
|
||||||
collaborator: {
|
collaborator: {
|
||||||
monthly: '$22',
|
monthly: '$22',
|
||||||
@@ -117,8 +117,8 @@ App.factory('MultiCurrencyPricing', function () {
|
|||||||
annual: '600 kr',
|
annual: '600 kr',
|
||||||
},
|
},
|
||||||
personal: {
|
personal: {
|
||||||
monthly: '35 kr',
|
monthly: '92 kr',
|
||||||
annual: '359 kr',
|
annual: '876 kr',
|
||||||
},
|
},
|
||||||
collaborator: {
|
collaborator: {
|
||||||
monthly: '138 kr',
|
monthly: '138 kr',
|
||||||
@@ -137,8 +137,8 @@ App.factory('MultiCurrencyPricing', function () {
|
|||||||
annual: '500 kr',
|
annual: '500 kr',
|
||||||
},
|
},
|
||||||
personal: {
|
personal: {
|
||||||
monthly: '29 kr',
|
monthly: '75 kr',
|
||||||
annual: '295 kr',
|
annual: '720 kr',
|
||||||
},
|
},
|
||||||
collaborator: {
|
collaborator: {
|
||||||
monthly: '113 kr',
|
monthly: '113 kr',
|
||||||
@@ -157,8 +157,8 @@ App.factory('MultiCurrencyPricing', function () {
|
|||||||
annual: '$100',
|
annual: '$100',
|
||||||
},
|
},
|
||||||
personal: {
|
personal: {
|
||||||
monthly: '$6',
|
monthly: '$15',
|
||||||
annual: '$59',
|
annual: '$144',
|
||||||
},
|
},
|
||||||
collaborator: {
|
collaborator: {
|
||||||
monthly: '$23',
|
monthly: '$23',
|
||||||
@@ -177,8 +177,8 @@ App.factory('MultiCurrencyPricing', function () {
|
|||||||
annual: '$100',
|
annual: '$100',
|
||||||
},
|
},
|
||||||
personal: {
|
personal: {
|
||||||
monthly: '$6',
|
monthly: '$15',
|
||||||
annual: '$59',
|
annual: '$144',
|
||||||
},
|
},
|
||||||
collaborator: {
|
collaborator: {
|
||||||
monthly: '$23',
|
monthly: '$23',
|
||||||
@@ -197,8 +197,8 @@ App.factory('MultiCurrencyPricing', function () {
|
|||||||
annual: 'Fr 80',
|
annual: 'Fr 80',
|
||||||
},
|
},
|
||||||
personal: {
|
personal: {
|
||||||
monthly: 'Fr 5',
|
monthly: 'Fr 13',
|
||||||
annual: 'Fr 49',
|
annual: 'Fr 120',
|
||||||
},
|
},
|
||||||
collaborator: {
|
collaborator: {
|
||||||
monthly: 'Fr 19',
|
monthly: 'Fr 19',
|
||||||
@@ -217,8 +217,8 @@ App.factory('MultiCurrencyPricing', function () {
|
|||||||
annual: '$120',
|
annual: '$120',
|
||||||
},
|
},
|
||||||
personal: {
|
personal: {
|
||||||
monthly: '$7',
|
monthly: '$17',
|
||||||
annual: '$64',
|
annual: '$156',
|
||||||
},
|
},
|
||||||
collaborator: {
|
collaborator: {
|
||||||
monthly: '$25',
|
monthly: '$25',
|
||||||
|
|||||||
@@ -64,9 +64,6 @@
|
|||||||
.card-header {
|
.card-header {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
.card-byline {
|
|
||||||
min-height: 58px;
|
|
||||||
}
|
|
||||||
.circle {
|
.circle {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
@@ -126,11 +123,7 @@
|
|||||||
margin-bottom: @line-height-computed;
|
margin-bottom: @line-height-computed;
|
||||||
}
|
}
|
||||||
.tagline {
|
.tagline {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 20px;
|
||||||
}
|
|
||||||
.special-offer {
|
|
||||||
margin-top: 6px;
|
|
||||||
color: @ol-dark-green;
|
|
||||||
}
|
}
|
||||||
ul.nav-pills {
|
ul.nav-pills {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@@ -543,7 +543,6 @@
|
|||||||
"tagline_professional": "For those working with many",
|
"tagline_professional": "For those working with many",
|
||||||
"tagline_student_annual": "Save even more",
|
"tagline_student_annual": "Save even more",
|
||||||
"tagline_student_monthly": "Great for a single term",
|
"tagline_student_monthly": "Great for a single term",
|
||||||
"limited_time_discount": "Limited-time discount!",
|
|
||||||
"all_premium_features": "All premium features",
|
"all_premium_features": "All premium features",
|
||||||
"sync_dropbox_github": "Sync with Dropbox and GitHub",
|
"sync_dropbox_github": "Sync with Dropbox and GitHub",
|
||||||
"project_synchronisation": "Project Synchronisation",
|
"project_synchronisation": "Project Synchronisation",
|
||||||
|
|||||||
Reference in New Issue
Block a user