2023-04-25 08:33:04 -04:00
|
|
|
mixin features_premium
|
|
|
|
li
|
|
|
|
li
|
|
|
|
strong #{translate('all_premium_features')}
|
|
|
|
li #{translate('sync_dropbox_github')}
|
|
|
|
li #{translate('full_doc_history')}
|
|
|
|
li #{translate('track_changes')}
|
|
|
|
li + #{translate('more').toLowerCase()}
|
|
|
|
|
|
|
|
mixin gen_localized_price_for_plan_view(plan, view)
|
|
|
|
span #{settings.localizedPlanPricing[recommendedCurrency][plan][view]}
|
|
|
|
|
2022-06-03 04:06:43 -04:00
|
|
|
mixin plans_v2_table(period, config)
|
2022-07-05 07:28:43 -04:00
|
|
|
- var baseColspan = config.baseColspan || 1
|
|
|
|
- var maxColumn = config.maxColumn || 4
|
2022-07-05 11:05:32 -04:00
|
|
|
- var discountedColumn = config.discountedColumn || {}
|
2023-05-25 15:12:59 -04:00
|
|
|
tr(class=`cols-${maxColumn}`)
|
2022-07-05 07:28:43 -04:00
|
|
|
th(colspan=baseColspan)
|
|
|
|
- for (var i = 0; i < maxColumn; i++)
|
2022-06-13 05:33:26 -04:00
|
|
|
- var tableHeadKey = Object.keys(config.tableHead)[i]
|
2022-07-05 07:28:43 -04:00
|
|
|
- var tableHeadOptions = Object.values(config.tableHead)[i] || {}
|
|
|
|
- var colspan = tableHeadOptions.colspan || baseColspan
|
2022-06-20 08:21:22 -04:00
|
|
|
- var highlighted = i === config.highlightedColumn.index
|
2022-07-05 11:05:32 -04:00
|
|
|
- var discountHighlighted = i === discountedColumn.index
|
2022-06-28 09:36:25 -04:00
|
|
|
- var eventTrackingKey = config.eventTrackingKey
|
|
|
|
- var additionalEventSegmentation = config.additionalEventSegmentation || {}
|
2022-07-05 11:05:32 -04:00
|
|
|
-
|
|
|
|
if (discountHighlighted) {
|
|
|
|
var thClass = 'plans-v2-table-discount-highlighted'
|
|
|
|
} else if (highlighted) {
|
|
|
|
var thClass = 'plans-v2-table-green-highlighted'
|
|
|
|
} else if (i === config.highlightedColumn.index - 1) {
|
|
|
|
var thClass = 'plans-v2-table-cell-before-green-highlighted-column'
|
|
|
|
} else {
|
|
|
|
var thClass = ''
|
|
|
|
}
|
2022-06-03 04:06:43 -04:00
|
|
|
th(
|
2022-07-05 11:05:32 -04:00
|
|
|
class=thClass
|
2022-07-05 07:28:43 -04:00
|
|
|
colspan=colspan
|
2022-06-03 04:06:43 -04:00
|
|
|
)
|
2023-06-15 12:07:04 -04:00
|
|
|
.plans-v2-table-th
|
|
|
|
if (discountHighlighted)
|
2023-07-18 05:22:15 -04:00
|
|
|
p.plans-v2-table-discount-highlighted-text #{translate(config.discountedColumn.text[period]).toUpperCase()}
|
2023-06-15 12:07:04 -04:00
|
|
|
if (highlighted)
|
2023-07-18 05:22:15 -04:00
|
|
|
p.plans-v2-table-green-highlighted-text #{translate(config.highlightedColumn.text[period]).toUpperCase()}
|
2023-06-15 12:07:04 -04:00
|
|
|
case tableHeadKey
|
|
|
|
when 'individual_free'
|
|
|
|
+table_head_individual_free(highlighted, period)
|
|
|
|
when 'individual_collaborator'
|
|
|
|
+table_head_individual_collaborator(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
|
|
|
when 'individual_professional'
|
|
|
|
+table_head_individual_professional(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
|
|
|
when 'group_collaborator'
|
|
|
|
+table_head_group_collaborator(highlighted, eventTrackingKey, additionalEventSegmentation)
|
|
|
|
when 'group_professional'
|
|
|
|
+table_head_group_professional(highlighted, eventTrackingKey, additionalEventSegmentation)
|
|
|
|
when 'group_organization'
|
|
|
|
+table_head_group_organization(highlighted, eventTrackingKey, additionalEventSegmentation)
|
|
|
|
when 'student_free'
|
|
|
|
+table_head_student_free(highlighted, period)
|
|
|
|
when 'student_student'
|
|
|
|
+table_head_student_student(highlighted, eventTrackingKey, additionalEventSegmentation, period, tableHeadOptions.showExtraContent)
|
|
|
|
when 'student_university'
|
|
|
|
+table_head_student_university(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-05-12 07:38:02 -04:00
|
|
|
|
2022-06-03 04:06:43 -04:00
|
|
|
for featuresPerSection in config.features
|
2022-07-05 07:28:43 -04:00
|
|
|
- var dividerColspan = Object.values(config.tableHead).reduce((prev, curr) => (prev) + (curr.colspan || 1), baseColspan)
|
2022-06-03 04:06:43 -04:00
|
|
|
if featuresPerSection.divider
|
|
|
|
tr.plans-v2-table-divider
|
2022-07-05 07:28:43 -04:00
|
|
|
td(
|
|
|
|
colspan=dividerColspan
|
|
|
|
class=((config.highlightedColumn.index === Object.keys(config.tableHead).length - 1) ? 'plans-v2-table-divider-highlighted' : '')
|
|
|
|
)
|
2022-06-03 04:06:43 -04:00
|
|
|
div
|
|
|
|
b.plans-v2-table-divider-label #{translate(featuresPerSection.dividerLabel)}
|
|
|
|
//- will only appear on screen width >= 768px (using CSS)
|
|
|
|
i.fa.fa-question-circle.plans-v2-table-divider-question-icon(
|
2023-07-30 12:59:35 -04:00
|
|
|
data-toggle="tooltip"
|
|
|
|
title=translate(featuresPerSection.dividerInfo),
|
|
|
|
data-placement="top"
|
|
|
|
)
|
2022-06-03 04:06:43 -04:00
|
|
|
//- will only appear on screen width < 768px (using CSS)
|
|
|
|
span.plans-v2-table-divider-learn-more-container
|
|
|
|
span (
|
|
|
|
span.plans-v2-table-divider-learn-more-text(
|
|
|
|
data-toggle="tooltip"
|
|
|
|
title=translate(featuresPerSection.dividerInfo),
|
|
|
|
data-placement="top"
|
|
|
|
) #{translate("learn_more_lowercase")}
|
|
|
|
span )
|
|
|
|
for feature, featureIndex in featuresPerSection.items
|
2023-09-18 07:54:38 -04:00
|
|
|
unless !showNewCompileTimeoutVariant && feature.feature === 'compile_servers'
|
|
|
|
tr(
|
|
|
|
class=(featureIndex === (featuresPerSection.items.length - 1) ? `plans-v2-table-row-last-row-per-section cols-${maxColumn}` : `cols-${maxColumn}`)
|
2022-07-05 07:28:43 -04:00
|
|
|
)
|
2022-06-03 04:06:43 -04:00
|
|
|
td(
|
2023-09-18 07:54:38 -04:00
|
|
|
event-tracking="plans-page-table"
|
|
|
|
event-tracking-trigger="hover"
|
|
|
|
event-tracking-ga="subscription-funnel"
|
|
|
|
event-tracking-label=`${feature.feature}`
|
|
|
|
colspan=baseColspan
|
2022-06-03 04:06:43 -04:00
|
|
|
)
|
2023-09-18 07:54:38 -04:00
|
|
|
.plans-v2-table-feature-name
|
|
|
|
if feature.info
|
|
|
|
span #{translate(feature.feature)}
|
|
|
|
//- will only appear on screen width >= 768px (using CSS)
|
|
|
|
if showNewCompileTimeoutVariant && feature.info === 'compile_timeout_short_info'
|
|
|
|
i.fa.fa-question-circle.plans-v2-table-feature-name-question-icon(
|
|
|
|
data-toggle="tooltip"
|
|
|
|
title=translate("compile_timeout_short_info_basic"),
|
|
|
|
data-placement="right"
|
|
|
|
)
|
|
|
|
//- will only appear on screen width < 768px (using CSS)
|
|
|
|
span.plans-v2-table-feature-name-learn-more-container
|
|
|
|
span (
|
|
|
|
span.plans-v2-table-feature-name-learn-more-text(
|
|
|
|
data-toggle="tooltip"
|
|
|
|
title=translate("compile_timeout_short_info_basic"),
|
|
|
|
data-placement="top"
|
|
|
|
) #{translate("learn_more_lowercase")}
|
|
|
|
span )
|
|
|
|
else
|
|
|
|
i.fa.fa-question-circle.plans-v2-table-feature-name-question-icon(
|
|
|
|
data-toggle="tooltip"
|
|
|
|
title=translate(feature.info),
|
|
|
|
data-placement="right"
|
|
|
|
)
|
|
|
|
//- will only appear on screen width < 768px (using CSS)
|
|
|
|
span.plans-v2-table-feature-name-learn-more-container
|
|
|
|
span (
|
|
|
|
span.plans-v2-table-feature-name-learn-more-text(
|
|
|
|
data-toggle="tooltip"
|
|
|
|
title=translate(feature.info),
|
|
|
|
data-placement="top"
|
|
|
|
) #{translate("learn_more_lowercase")}
|
|
|
|
span )
|
|
|
|
else
|
|
|
|
| #{translate(feature.feature)}
|
|
|
|
for plan, planIndex in Object.keys(feature.plans)
|
|
|
|
- var tableHeadOptions = Object.values(config.tableHead)[planIndex] || {}
|
|
|
|
- var colspan = tableHeadOptions.colspan || baseColspan
|
|
|
|
-
|
|
|
|
if (planIndex === discountedColumn.index) {
|
|
|
|
var tdClass = 'plans-v2-table-discount-highlighted'
|
|
|
|
} else if (planIndex === config.highlightedColumn.index) {
|
|
|
|
var tdClass = 'plans-v2-table-green-highlighted'
|
|
|
|
} else if (planIndex === config.highlightedColumn.index - 1) {
|
|
|
|
var tdClass = 'plans-v2-table-cell-before-green-highlighted-column'
|
|
|
|
} else {
|
|
|
|
var tdClass = ''
|
|
|
|
}
|
|
|
|
td(
|
|
|
|
class=tdClass
|
|
|
|
colspan=colspan
|
|
|
|
)
|
|
|
|
+table_cell(feature, plan)
|
2022-06-03 04:06:43 -04:00
|
|
|
|
|
|
|
mixin table_individual(period)
|
|
|
|
table.card.plans-v2-table.plans-v2-table-individual
|
2023-05-24 18:17:12 -04:00
|
|
|
+plans_v2_table(period, plansConfig.individual)
|
2022-06-03 04:06:43 -04:00
|
|
|
|
|
|
|
mixin table_group
|
|
|
|
table.card.plans-v2-table.plans-v2-table-group
|
2023-05-24 18:17:12 -04:00
|
|
|
+plans_v2_table('annual', plansConfig.group)
|
2022-05-12 07:38:02 -04:00
|
|
|
|
|
|
|
mixin table_student(period)
|
|
|
|
table.card.plans-v2-table.plans-v2-table-student
|
2023-05-24 18:17:12 -04:00
|
|
|
+plans_v2_table(period, plansConfig.student)
|
2023-07-30 12:59:35 -04:00
|
|
|
|
2022-06-20 08:21:22 -04:00
|
|
|
mixin table_head_individual_free(highlighted, period)
|
2022-06-03 04:06:43 -04:00
|
|
|
.plans-v2-table-th-content
|
|
|
|
p.plans-v2-table-th-content-title #{translate("free")}
|
|
|
|
+table_head_price('free', period)
|
|
|
|
.plans-v2-table-btn-buy-container-mobile
|
2022-06-20 08:21:22 -04:00
|
|
|
+btn_buy_individual_free(highlighted)
|
2022-06-03 04:06:43 -04:00
|
|
|
ul.plans-v2-table-th-content-benefit
|
|
|
|
li #{translate("one_collaborator")}
|
|
|
|
.plans-v2-table-btn-buy-container-desktop
|
2022-06-20 08:21:22 -04:00
|
|
|
+btn_buy_individual_free(highlighted)
|
2022-05-12 07:38:02 -04:00
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin table_head_individual_collaborator(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-06-03 04:06:43 -04:00
|
|
|
.plans-v2-table-th-content
|
|
|
|
p.plans-v2-table-th-content-title #{translate("standard")}
|
|
|
|
+table_head_price('collaborator', period)
|
|
|
|
.plans-v2-table-btn-buy-container-mobile
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_individual_collaborator(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-06-03 04:06:43 -04:00
|
|
|
ul.plans-v2-table-th-content-benefit
|
|
|
|
li !{translate("x_collaborators_per_project", {collaboratorsCount: '10'})}
|
|
|
|
li #{translate("all_premium_features")}
|
|
|
|
.plans-v2-table-btn-buy-container-desktop
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_individual_collaborator(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-06-03 04:06:43 -04:00
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin table_head_individual_professional(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-06-03 04:06:43 -04:00
|
|
|
.plans-v2-table-th-content
|
|
|
|
p.plans-v2-table-th-content-title #{translate("professional")}
|
|
|
|
+table_head_price('professional', period)
|
|
|
|
.plans-v2-table-btn-buy-container-mobile
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_individual_professional(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-06-03 04:06:43 -04:00
|
|
|
ul.plans-v2-table-th-content-benefit
|
2023-05-24 18:17:12 -04:00
|
|
|
li !{translate("unlimited_collabs_rt",{},["b"])}
|
2022-06-03 04:06:43 -04:00
|
|
|
li #{translate("all_premium_features")}
|
|
|
|
.plans-v2-table-btn-buy-container-desktop
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_individual_professional(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-06-03 04:06:43 -04:00
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin table_head_group_collaborator(highlighted, eventTrackingKey, additionalEventSegmentation)
|
2022-06-03 04:06:43 -04:00
|
|
|
.plans-v2-table-th-content
|
|
|
|
p.plans-v2-table-th-content-title #{translate("group_standard")}
|
|
|
|
.plans-v2-table-price-container
|
2022-07-05 11:05:32 -04:00
|
|
|
strike.plans-v2-table-price-before-discount
|
2022-06-03 04:06:43 -04:00
|
|
|
+gen_localized_price_for_plan_view('collaborator', 'annual')
|
|
|
|
p.plans-v2-table-price
|
|
|
|
span(data-ol-plans-v2-group-price-per-user='collaborator') #{initialLocalizedGroupPrice.pricePerUser.collaborator}
|
|
|
|
p.plans-v2-table-price-period-label
|
2023-07-18 05:22:15 -04:00
|
|
|
| #{translate('per_user_year')}
|
2022-06-03 04:06:43 -04:00
|
|
|
.plans-v2-table-btn-buy-container-mobile
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_group_collaborator(highlighted, eventTrackingKey)
|
|
|
|
+additional_link_group(eventTrackingKey, additionalEventSegmentation, 'group_collaborator')
|
2022-06-03 04:06:43 -04:00
|
|
|
ul.plans-v2-table-th-content-benefit
|
|
|
|
li #{translate("up_to")} !{translate("x_collaborators_per_project", {collaboratorsCount: '10'})}
|
|
|
|
li
|
2022-07-08 09:26:11 -04:00
|
|
|
+table_head_group_total_per_year('collaborator')
|
2022-06-03 04:06:43 -04:00
|
|
|
.plans-v2-table-btn-buy-container-desktop
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_group_collaborator(highlighted, eventTrackingKey)
|
|
|
|
+additional_link_group(eventTrackingKey, additionalEventSegmentation, 'group_collaborator')
|
2022-06-03 04:06:43 -04:00
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin table_head_group_professional(highlighted, eventTrackingKey, additionalEventSegmentation)
|
2022-06-03 04:06:43 -04:00
|
|
|
.plans-v2-table-th-content
|
|
|
|
p.plans-v2-table-th-content-title #{translate("group_professional")}
|
|
|
|
.plans-v2-table-price-container
|
2022-07-05 11:05:32 -04:00
|
|
|
strike.plans-v2-table-price-before-discount
|
2022-06-03 04:06:43 -04:00
|
|
|
+gen_localized_price_for_plan_view('professional', 'annual')
|
|
|
|
p.plans-v2-table-price
|
|
|
|
span(data-ol-plans-v2-group-price-per-user='professional') #{initialLocalizedGroupPrice.pricePerUser.professional}
|
|
|
|
p.plans-v2-table-price-period-label
|
2023-07-18 05:22:15 -04:00
|
|
|
| #{translate('per_user_year')}
|
2022-06-03 04:06:43 -04:00
|
|
|
.plans-v2-table-btn-buy-container-mobile
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_group_professional(highlighted, eventTrackingKey)
|
|
|
|
+additional_link_group(eventTrackingKey, additionalEventSegmentation, 'group_professional')
|
2022-06-03 04:06:43 -04:00
|
|
|
ul.plans-v2-table-th-content-benefit
|
|
|
|
li #{translate("unlimited_collaborators_in_each_project")}
|
|
|
|
li
|
2022-07-08 09:26:11 -04:00
|
|
|
+table_head_group_total_per_year('professional')
|
2022-06-03 04:06:43 -04:00
|
|
|
.plans-v2-table-btn-buy-container-desktop
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_group_professional(highlighted, eventTrackingKey)
|
|
|
|
+additional_link_group(eventTrackingKey, additionalEventSegmentation, 'group_professional')
|
2022-06-03 04:06:43 -04:00
|
|
|
|
2022-07-08 09:26:11 -04:00
|
|
|
mixin table_head_group_total_per_year(groupPlan)
|
|
|
|
- var initialLicenseSize = '2'
|
|
|
|
span.plans-v2-group-total-price(data-ol-plans-v2-group-total-price=groupPlan) #{initialLocalizedGroupPrice.price[groupPlan]}
|
|
|
|
|
|
|
|
|
for licenseSize in groupPlanModalOptions.sizes
|
|
|
|
span(
|
|
|
|
hidden=(licenseSize !== initialLicenseSize)
|
|
|
|
data-ol-plans-v2-table-th-group-license-size=licenseSize
|
|
|
|
) !{translate("total_per_year_for_x_users", {licenseSize})}
|
2022-06-03 04:06:43 -04:00
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin table_head_group_organization(highlighted, eventTrackingKey, additionalEventSegmentation)
|
|
|
|
- var segmentation = JSON.stringify(Object.assign({}, {button: 'group_organization-link', location: 'table-header-list', period: 'annual'}, additionalEventSegmentation))
|
2022-06-03 04:06:43 -04:00
|
|
|
.plans-v2-table-th-content
|
|
|
|
p.plans-v2-table-th-content-title #{translate("organization")}
|
|
|
|
.plans-v2-table-comments-icon
|
|
|
|
i.fa.fa-comments-o
|
|
|
|
.plans-v2-table-btn-buy-container-mobile
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_group_organization(highlighted, eventTrackingKey)
|
2022-06-03 04:06:43 -04:00
|
|
|
small.plans-v2-table-th-content-additional-link.invisible(aria-hidden="true")
|
|
|
|
ul.plans-v2-table-th-content-benefit
|
|
|
|
li #{translate("best_choices_companies_universities_non_profits")}
|
|
|
|
li #{translate("for_groups_or_site_wide")}
|
|
|
|
li
|
|
|
|
a(
|
|
|
|
target="_blank"
|
2022-07-12 14:04:45 -04:00
|
|
|
href="/for/contact-sales"
|
2022-06-03 04:06:43 -04:00
|
|
|
event-tracking="plans-page-click"
|
|
|
|
event-tracking-mb="true"
|
|
|
|
event-tracking-trigger="click"
|
2022-06-28 09:36:25 -04:00
|
|
|
event-segmentation=segmentation
|
2022-06-03 04:06:43 -04:00
|
|
|
) #{translate("also_available_as_on_premises")}
|
|
|
|
.plans-v2-table-btn-buy-container-desktop
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_group_organization(highlighted, eventTrackingKey)
|
2022-06-03 04:06:43 -04:00
|
|
|
small.plans-v2-table-th-content-additional-link.invisible(aria-hidden="true")
|
|
|
|
|
2022-06-20 08:21:22 -04:00
|
|
|
mixin table_head_student_free(highlighted, period)
|
2022-06-03 04:06:43 -04:00
|
|
|
div.plans-v2-table-th-content
|
|
|
|
p.plans-v2-table-th-content-title #{translate("free")}
|
|
|
|
+table_head_price('free', period)
|
|
|
|
.plans-v2-table-btn-buy-container-mobile
|
2022-06-20 08:21:22 -04:00
|
|
|
+btn_buy_student_free(highlighted)
|
2022-06-03 04:06:43 -04:00
|
|
|
ul.plans-v2-table-th-content-benefit
|
|
|
|
li #{translate("one_collaborator")}
|
|
|
|
.plans-v2-table-btn-buy-container-desktop
|
2022-06-20 08:21:22 -04:00
|
|
|
+btn_buy_student_free(highlighted)
|
2022-06-03 04:06:43 -04:00
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin table_head_student_student(highlighted, eventTrackingKey, additionalEventSegmentation, period, showExtraContent)
|
2022-06-03 04:06:43 -04:00
|
|
|
div.plans-v2-table-th-content
|
|
|
|
p.plans-v2-table-th-content-title #{translate("student")}
|
|
|
|
+table_head_price('student', period)
|
|
|
|
.plans-v2-table-btn-buy-container-mobile
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_student_student(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-06-03 04:06:43 -04:00
|
|
|
ul.plans-v2-table-th-content-benefit
|
|
|
|
li !{translate("x_collaborators_per_project", {collaboratorsCount: '6'})}
|
|
|
|
li #{translate("all_premium_features")}
|
2022-06-13 05:33:26 -04:00
|
|
|
if showExtraContent
|
2023-05-24 18:17:12 -04:00
|
|
|
li
|
|
|
|
b !{translate("for_students_only")}
|
2022-06-13 05:33:26 -04:00
|
|
|
|
2022-06-03 04:06:43 -04:00
|
|
|
.plans-v2-table-btn-buy-container-desktop
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_student_student(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-06-03 04:06:43 -04:00
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin table_head_student_university(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-06-03 04:06:43 -04:00
|
|
|
div.plans-v2-table-th-content
|
|
|
|
p.plans-v2-table-th-content-title #{translate("university")}
|
|
|
|
div.plans-v2-table-comments-icon
|
|
|
|
i.fa.fa-comments-o
|
|
|
|
.plans-v2-table-btn-buy-container-mobile
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_student_university(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-06-03 04:06:43 -04:00
|
|
|
p.plans-v2-table-th-content-benefit !{translate("all_our_group_plans_offer_educational_discount", {}, [{name: 'b'}, {name: 'b'}])}
|
|
|
|
.plans-v2-table-btn-buy-container-desktop
|
2022-06-28 09:36:25 -04:00
|
|
|
+btn_buy_student_university(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-05-12 07:38:02 -04:00
|
|
|
|
|
|
|
mixin table_head_price(plan, period)
|
|
|
|
div.plans-v2-table-price-container
|
2022-07-05 11:05:32 -04:00
|
|
|
if plan !== 'free' && period === 'annual'
|
|
|
|
strike.plans-v2-table-price-before-discount
|
2022-05-12 07:38:02 -04:00
|
|
|
+gen_localized_price_for_plan_view(plan, 'monthlyTimesTwelve')
|
|
|
|
p.plans-v2-table-price
|
|
|
|
+gen_localized_price_for_plan_view(plan, period)
|
|
|
|
p.plans-v2-table-price-period-label
|
|
|
|
if period == 'annual'
|
2023-06-05 06:03:56 -04:00
|
|
|
| #{translate("per_year")}
|
2022-05-12 07:38:02 -04:00
|
|
|
else
|
2023-06-05 06:03:56 -04:00
|
|
|
| #{translate("per_month")}
|
2022-05-12 07:38:02 -04:00
|
|
|
|
|
|
|
mixin table_cell(feature, plan)
|
2022-07-08 09:26:11 -04:00
|
|
|
- var planValue = feature.plans[plan]
|
|
|
|
- var featureName = feature.feature
|
|
|
|
|
2023-06-15 12:07:04 -04:00
|
|
|
.plans-v2-table-cell
|
|
|
|
.plans-v2-table-cell-content(
|
|
|
|
data-ol-plans-v2-table-cell-plan=plan
|
|
|
|
data-ol-plans-v2-table-cell-feature=featureName
|
|
|
|
)
|
2023-09-18 07:54:38 -04:00
|
|
|
if feature.feature === 'compile_servers'
|
|
|
|
if showNewCompileTimeoutVariant
|
|
|
|
| #{translate(planValue)}
|
|
|
|
else if feature.feature === 'compile_timeout_short'
|
|
|
|
if showNewCompileTimeoutVariant && plan !== 'group_standard' && plan !== 'group_professional' && plan !== 'organization'
|
|
|
|
if plan === 'free'
|
|
|
|
| #{translate("basic")}
|
|
|
|
strong *
|
|
|
|
else
|
|
|
|
| #{translate("12x_basic")}
|
2023-06-15 12:07:04 -04:00
|
|
|
else
|
2023-09-18 07:54:38 -04:00
|
|
|
if plan === 'free'
|
|
|
|
| #{translate(planValue)}
|
|
|
|
strong *
|
|
|
|
else
|
|
|
|
| #{translate(planValue)}
|
|
|
|
else
|
|
|
|
if (feature.value === 'str')
|
|
|
|
| !{translate(planValue, {}, ['strong'])}
|
|
|
|
else if (feature.value === 'bool')
|
|
|
|
if (planValue)
|
|
|
|
i.fa.fa-check(aria-hidden="true")
|
|
|
|
span.sr-only #{translate("feature_included")}
|
|
|
|
else
|
|
|
|
span(aria-hidden="true") -
|
|
|
|
span.sr-only #{translate("feature_not_included")}
|
2022-05-12 07:38:02 -04:00
|
|
|
|
|
|
|
mixin group_plans_license_picker()
|
|
|
|
form.plans-v2-license-picker-form(data-ol-plans-v2-license-picker-form)
|
|
|
|
.plans-v2-license-picker-select-container
|
2022-05-17 04:30:41 -04:00
|
|
|
span #{translate("number_of_users_with_colon")}
|
2022-05-12 07:38:02 -04:00
|
|
|
select.plans-v2-license-picker-select(
|
|
|
|
name="plans-v2-license-picker-select"
|
|
|
|
id="plans-v2-license-picker-select"
|
|
|
|
autocomplete="off"
|
|
|
|
data-ol-plans-v2-license-picker-select
|
2022-05-19 05:13:25 -04:00
|
|
|
event-tracking="plans-page-group-size"
|
|
|
|
event-tracking-mb="true"
|
|
|
|
event-tracking-trigger="click"
|
|
|
|
event-tracking-element="select"
|
2022-05-12 07:38:02 -04:00
|
|
|
)
|
|
|
|
option(value="2") 2
|
|
|
|
option(value="3") 3
|
|
|
|
option(value="4") 4
|
|
|
|
option(value="5") 5
|
|
|
|
option(value="10") 10
|
|
|
|
option(value="20") 20
|
|
|
|
option(value="50") 50
|
|
|
|
.plans-v2-license-picker-educational-discount
|
|
|
|
label.plans-v2-license-picker-educational-discount-label(data-ol-plans-v2-license-picker-educational-discount-label)
|
|
|
|
input.plans-v2-license-picker-educational-discount-checkbox(
|
|
|
|
type="checkbox"
|
|
|
|
id="license-picker-educational-discount"
|
|
|
|
autocomplete="off"
|
|
|
|
data-ol-plans-v2-license-picker-educational-discount-input
|
2022-05-19 05:13:25 -04:00
|
|
|
event-tracking="plans-page-edu-discount"
|
|
|
|
event-tracking-mb="true"
|
|
|
|
event-tracking-trigger="click"
|
|
|
|
event-tracking-element="checkbox"
|
2022-05-12 07:38:02 -04:00
|
|
|
)
|
2022-05-17 04:30:41 -04:00
|
|
|
span #{translate("apply_educational_discount")}
|
2022-05-12 07:38:02 -04:00
|
|
|
//- will only appear on screen width >= 768px (using CSS)
|
|
|
|
i.fa.fa-question-circle.plans-v2-license-picker-educational-discount-question-icon(
|
|
|
|
data-toggle="tooltip"
|
2022-05-17 04:30:41 -04:00
|
|
|
title=translate("apply_educational_discount_info"),
|
2022-05-12 07:38:02 -04:00
|
|
|
data-placement="bottom"
|
|
|
|
)
|
|
|
|
//- will only appear on screen width < 768px (using CSS)
|
|
|
|
span.plans-v2-license-picker-educational-discount-learn-more-container
|
|
|
|
span (
|
|
|
|
span.plans-v2-license-picker-educational-discount-learn-more-text(
|
|
|
|
data-toggle="tooltip"
|
2022-05-17 04:30:41 -04:00
|
|
|
title=translate("apply_educational_discount_info"),
|
2022-05-12 07:38:02 -04:00
|
|
|
data-placement="bottom"
|
|
|
|
) #{translate("learn_more_lowercase")}
|
|
|
|
span )
|
|
|
|
|
2022-07-05 11:05:32 -04:00
|
|
|
mixin btn_buy_individual(highlighted, discountHighlighted, eventTrackingKey, subscriptionPlan, period)
|
2022-06-20 08:21:22 -04:00
|
|
|
a.btn.plans-v2-table-btn-buy(
|
|
|
|
data-ol-start-new-subscription=subscriptionPlan
|
2022-06-28 09:36:25 -04:00
|
|
|
data-ol-event-tracking-key=eventTrackingKey
|
2022-06-20 08:21:22 -04:00
|
|
|
data-ol-item-view=period
|
2022-07-05 11:05:32 -04:00
|
|
|
class=(discountHighlighted ? 'btn-dark-blue' : (highlighted ? 'btn-primary' : 'btn-default'))
|
2022-06-20 08:21:22 -04:00
|
|
|
)
|
|
|
|
if (period === 'monthly')
|
|
|
|
span #{translate("try_for_free")}
|
|
|
|
else
|
|
|
|
span #{translate("buy_now_no_exclamation_mark")}
|
2022-05-12 07:38:02 -04:00
|
|
|
|
|
|
|
mixin btn_buy_individual_free()
|
|
|
|
if (!getSessionUser())
|
2022-06-20 08:21:22 -04:00
|
|
|
a.btn.plans-v2-table-btn-buy(
|
|
|
|
href="/register"
|
|
|
|
class=(highlighted ? 'btn-primary' : 'btn-default')
|
|
|
|
)
|
2022-05-12 07:38:02 -04:00
|
|
|
span #{translate("try_for_free")}
|
|
|
|
else
|
2022-06-20 08:21:22 -04:00
|
|
|
a.btn.plans-v2-table-btn-buy.invisible(
|
|
|
|
aria-hidden="true"
|
|
|
|
class=(highlighted ? 'btn-primary' : 'btn-default')
|
|
|
|
)
|
2022-05-12 07:38:02 -04:00
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin btn_buy_individual_collaborator(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-07-05 11:05:32 -04:00
|
|
|
+btn_buy_individual(highlighted, false, eventTrackingKey, 'collaborator', period)
|
2022-05-12 07:38:02 -04:00
|
|
|
if (period === 'monthly')
|
2022-06-28 09:36:25 -04:00
|
|
|
+additional_link_buy(eventTrackingKey, additionalEventSegmentation, 'collaborator', period)
|
2022-05-12 07:38:02 -04:00
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin btn_buy_individual_professional(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-07-05 11:05:32 -04:00
|
|
|
+btn_buy_individual(highlighted, false, eventTrackingKey, 'professional', period)
|
2022-05-12 07:38:02 -04:00
|
|
|
if (period === 'monthly')
|
2022-06-28 09:36:25 -04:00
|
|
|
+additional_link_buy(eventTrackingKey, additionalEventSegmentation, 'professional', period)
|
2022-05-12 07:38:02 -04:00
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin btn_buy_group_collaborator(highlighted, eventTrackingKey)
|
2022-06-20 08:21:22 -04:00
|
|
|
a.btn.plans-v2-table-btn-buy(
|
2022-05-12 07:38:02 -04:00
|
|
|
data-ol-start-new-subscription='group_collaborator'
|
2022-06-28 09:36:25 -04:00
|
|
|
data-ol-event-tracking-key=eventTrackingKey
|
2022-05-12 07:38:02 -04:00
|
|
|
data-ol-item-view='annual'
|
|
|
|
data-ol-has-custom-href
|
2022-09-29 08:53:47 -04:00
|
|
|
data-ol-location='table-header'
|
2022-06-20 08:21:22 -04:00
|
|
|
class=(highlighted ? 'btn-primary' : 'btn-default')
|
2022-05-12 07:38:02 -04:00
|
|
|
)
|
2023-02-08 04:23:22 -05:00
|
|
|
span.hidden-desktop #{translate("customize")}
|
|
|
|
span.hidden-mobile #{translate("customize_your_plan")}
|
2022-05-12 07:38:02 -04:00
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin btn_buy_group_professional(highlighted, eventTrackingKey)
|
2022-06-20 08:21:22 -04:00
|
|
|
a.btn.plans-v2-table-btn-buy(
|
2022-05-12 07:38:02 -04:00
|
|
|
data-ol-start-new-subscription='group_professional'
|
2022-06-28 09:36:25 -04:00
|
|
|
data-ol-event-tracking-key=eventTrackingKey
|
2022-05-12 07:38:02 -04:00
|
|
|
data-ol-item-view='annual'
|
|
|
|
data-ol-has-custom-href
|
2022-09-29 08:53:47 -04:00
|
|
|
data-ol-location='table-header'
|
2022-06-20 08:21:22 -04:00
|
|
|
class=(highlighted ? 'btn-primary' : 'btn-default')
|
2022-05-12 07:38:02 -04:00
|
|
|
)
|
2023-02-08 04:23:22 -05:00
|
|
|
span.hidden-desktop #{translate("customize")}
|
|
|
|
span.hidden-mobile #{translate("customize_your_plan")}
|
2022-05-12 07:38:02 -04:00
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin btn_buy_group_organization(highlighted, eventTrackingKey)
|
2022-06-20 08:21:22 -04:00
|
|
|
a.btn.plans-v2-table-btn-buy(
|
2022-05-12 07:38:02 -04:00
|
|
|
data-ol-start-new-subscription='group_organization'
|
2022-06-28 09:36:25 -04:00
|
|
|
data-ol-event-tracking-key=eventTrackingKey
|
2022-05-12 07:38:02 -04:00
|
|
|
data-ol-item-view='annual'
|
|
|
|
data-ol-has-custom-href
|
2022-09-29 08:53:47 -04:00
|
|
|
data-ol-location='table-header'
|
2022-07-12 14:04:45 -04:00
|
|
|
href='/for/contact-sales'
|
2022-05-12 07:38:02 -04:00
|
|
|
target='_blank'
|
2022-06-20 08:21:22 -04:00
|
|
|
class=(highlighted ? 'btn-primary' : 'btn-default')
|
2022-05-12 07:38:02 -04:00
|
|
|
)
|
|
|
|
span #{translate("contact_us_lowercase")}
|
|
|
|
|
2022-06-20 08:21:22 -04:00
|
|
|
mixin btn_buy_student_free(highlighted)
|
2022-05-12 07:38:02 -04:00
|
|
|
if (!getSessionUser())
|
2022-06-20 08:21:22 -04:00
|
|
|
a.btn.plans-v2-table-btn-buy(
|
|
|
|
href="/register"
|
|
|
|
class=(highlighted ? 'btn-primary' : 'btn-default')
|
|
|
|
)
|
2022-05-12 07:38:02 -04:00
|
|
|
span #{translate("try_for_free")}
|
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin btn_buy_student_student(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
2022-06-20 08:21:22 -04:00
|
|
|
a.btn.plans-v2-table-btn-buy(
|
2022-05-12 07:38:02 -04:00
|
|
|
data-ol-start-new-subscription='student'
|
2022-06-28 09:36:25 -04:00
|
|
|
data-ol-event-tracking-key=eventTrackingKey
|
2022-05-12 07:38:02 -04:00
|
|
|
data-ol-item-view=period
|
|
|
|
data-ol-location='card'
|
2022-06-20 08:21:22 -04:00
|
|
|
class=(highlighted ? 'btn-primary' : 'btn-default')
|
2022-05-12 07:38:02 -04:00
|
|
|
)
|
|
|
|
if (period === 'monthly')
|
|
|
|
span #{translate("try_for_free")}
|
|
|
|
else
|
2022-05-19 05:39:04 -04:00
|
|
|
span #{translate("buy_now_no_exclamation_mark")}
|
2022-05-12 07:38:02 -04:00
|
|
|
if (period === 'monthly')
|
2022-06-28 09:36:25 -04:00
|
|
|
+additional_link_buy(eventTrackingKey, additionalEventSegmentation, 'student', period)
|
2022-05-12 07:38:02 -04:00
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin btn_buy_student_university(highlighted, eventTrackingKey, additionalEventSegmentation, period)
|
|
|
|
- var segmentation = JSON.stringify(Object.assign({}, {button: 'student-university', location: 'table-header-list', period}, additionalEventSegmentation))
|
2022-06-20 08:21:22 -04:00
|
|
|
a.btn.plans-v2-table-btn-buy(
|
2022-07-12 14:04:45 -04:00
|
|
|
href="/for/contact-sales"
|
2022-05-12 07:38:02 -04:00
|
|
|
target="_blank"
|
2022-06-28 09:36:25 -04:00
|
|
|
event-tracking=eventTrackingKey
|
2022-05-19 05:13:25 -04:00
|
|
|
event-tracking-mb="true"
|
|
|
|
event-tracking-trigger="click"
|
2022-06-28 09:36:25 -04:00
|
|
|
event-segmentation=segmentation
|
2022-06-20 08:21:22 -04:00
|
|
|
class=(highlighted ? 'btn-primary' : 'btn-default')
|
2022-05-12 07:38:02 -04:00
|
|
|
)
|
|
|
|
span #{translate("contact_us_lowercase")}
|
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin additional_link_group(eventTrackingKey, additionalEventSegmentation, plan)
|
2022-05-19 05:13:25 -04:00
|
|
|
- var buttonSegmentation = plan + '-link'
|
2022-06-28 09:36:25 -04:00
|
|
|
- var segmentation = JSON.stringify(Object.assign({}, {button: buttonSegmentation, location: 'table-header'}, additionalEventSegmentation))
|
2022-05-19 05:13:25 -04:00
|
|
|
small.plans-v2-table-th-content-additional-link
|
|
|
|
| #{translate("or")}
|
|
|
|
a(
|
2022-07-12 14:04:45 -04:00
|
|
|
href="/for/contact-sales"
|
2022-05-19 05:13:25 -04:00
|
|
|
target="_blank"
|
2022-06-28 09:36:25 -04:00
|
|
|
event-tracking=eventTrackingKey
|
2022-05-19 05:13:25 -04:00
|
|
|
event-tracking-mb="true"
|
|
|
|
event-tracking-trigger="click"
|
2022-06-28 09:36:25 -04:00
|
|
|
event-segmentation=segmentation
|
2022-05-19 05:13:25 -04:00
|
|
|
) #{translate("contact_us_lowercase")}
|
|
|
|
|
2022-06-28 09:36:25 -04:00
|
|
|
mixin additional_link_buy(eventTrackingKey, additionalEventSegmentation, plan, period)
|
2022-05-19 05:13:25 -04:00
|
|
|
- var buttonSegmentation = plan + '-link'
|
2022-06-28 09:36:25 -04:00
|
|
|
- var segmentation = JSON.stringify(Object.assign({}, {button: buttonSegmentation, location: 'table-header', period}, additionalEventSegmentation))
|
2022-11-16 06:34:56 -05:00
|
|
|
- var itmCampaign = itm_campaign ? { itm_campaign } : {itm_campaign: 'plans'}
|
2022-10-25 08:02:18 -04:00
|
|
|
- var itmReferrer = itm_referrer ? { itm_referrer } : {}
|
2022-11-16 06:34:56 -05:00
|
|
|
- var qs = new URLSearchParams({planCode: plan, currency: recommendedCurrency, itm_content: 'card', ...itmCampaign, ...itmReferrer})
|
2022-05-19 05:13:25 -04:00
|
|
|
small.plans-v2-table-th-content-additional-link
|
|
|
|
| #{translate("or")}
|
|
|
|
a(
|
2022-07-05 09:08:54 -04:00
|
|
|
href=`/user/subscription/new?${qs.toString()}`
|
2022-06-28 09:36:25 -04:00
|
|
|
event-tracking=eventTrackingKey
|
2022-05-19 05:13:25 -04:00
|
|
|
event-tracking-mb="true"
|
|
|
|
event-tracking-trigger="click"
|
2022-06-28 09:36:25 -04:00
|
|
|
event-segmentation=segmentation
|
2022-05-19 05:13:25 -04:00
|
|
|
) #{translate("buy_now_no_exclamation_mark")}
|
|
|
|
|
2022-07-05 06:04:38 -04:00
|
|
|
mixin plans_v2_table_sticky_header(withSwitch, config)
|
|
|
|
- var tableHeadKeys = Object.keys(config.tableHead)
|
|
|
|
.row.plans-v2-table-sticky-header.sticky(
|
2022-06-22 08:22:11 -04:00
|
|
|
data-ol-plans-v2-table-sticky-header
|
2022-07-05 06:04:38 -04:00
|
|
|
class=(withSwitch ? 'plans-v2-table-sticky-header-with-switch' : 'plans-v2-table-sticky-header-without-switch')
|
|
|
|
)
|
|
|
|
- for (var i = 0; i < tableHeadKeys.length; i++)
|
|
|
|
- var tableHeadKey = tableHeadKeys[i]
|
|
|
|
- var translateKey = tableHeadKey.split('_')[1]
|
2022-07-05 11:05:32 -04:00
|
|
|
-
|
|
|
|
if (config.discountedColumn?.index === i) {
|
|
|
|
var elClass = 'plans-v2-table-sticky-header-item-discount-highlighted'
|
|
|
|
} else if (config.highlightedColumn.index === i) {
|
|
|
|
var elClass = 'plans-v2-table-sticky-header-item-green-highlighted'
|
|
|
|
} else {
|
|
|
|
var elClass = ''
|
|
|
|
}
|
2022-07-05 06:04:38 -04:00
|
|
|
.plans-v2-table-sticky-header-item(
|
2022-07-05 11:05:32 -04:00
|
|
|
class=elClass
|
2022-07-05 06:04:38 -04:00
|
|
|
)
|
|
|
|
case tableHeadKey
|
|
|
|
when 'individual_collaborator'
|
|
|
|
span #{translate('standard')}
|
|
|
|
when 'group_professional'
|
|
|
|
span #{translate(tableHeadKey)}
|
|
|
|
when 'group_collaborator'
|
|
|
|
span #{translate('group_standard')}
|
|
|
|
default
|
|
|
|
span #{translate(translateKey)}
|
|
|
|
|
2023-05-24 18:17:12 -04:00
|
|
|
mixin table_sticky_header_all(plansConfig)
|
2022-07-05 06:04:38 -04:00
|
|
|
.row.plans-v2-table-sticky-header-container(
|
2022-06-22 08:22:11 -04:00
|
|
|
data-ol-plans-v2-view='individual'
|
|
|
|
)
|
2023-05-24 18:17:12 -04:00
|
|
|
+plans_v2_table_sticky_header(true, plansConfig.individual)
|
2022-07-05 06:04:38 -04:00
|
|
|
.row.plans-v2-table-sticky-header-container(
|
2022-06-22 08:22:11 -04:00
|
|
|
hidden
|
|
|
|
data-ol-plans-v2-view='group'
|
|
|
|
)
|
2023-05-24 18:17:12 -04:00
|
|
|
+plans_v2_table_sticky_header(false, plansConfig.group)
|
2022-07-05 06:04:38 -04:00
|
|
|
.row.plans-v2-table-sticky-header-container(
|
2022-06-22 08:22:11 -04:00
|
|
|
hidden
|
|
|
|
data-ol-plans-v2-view='student'
|
|
|
|
)
|
2023-05-24 18:17:12 -04:00
|
|
|
+plans_v2_table_sticky_header(true, plansConfig.student)
|
2022-06-03 09:43:33 -04:00
|
|
|
|
2022-09-20 06:06:07 -04:00
|
|
|
mixin monthly_annual_switch(initialState, eventTracking, eventSegmentation)
|
2023-01-27 10:04:33 -05:00
|
|
|
- var monthlyAnnualToggleChecked = initialState === 'monthly'
|
2022-06-03 09:43:33 -04:00
|
|
|
.row
|
|
|
|
.col-md-4.col-md-offset-4.text-centered.plans-v2-m-a-switch-container(data-ol-plans-v2-m-a-switch-container)
|
2023-01-27 10:04:33 -05:00
|
|
|
.plans-v2-m-a-switch-annual-text-container
|
|
|
|
span.underline(data-ol-plans-v2-m-a-switch-text='annual') #{translate("annual")}
|
|
|
|
.tooltip.in.left.plans-v2-m-a-tooltip(
|
|
|
|
role="tooltip"
|
|
|
|
data-ol-plans-v2-m-a-tooltip
|
|
|
|
class=monthlyAnnualToggleChecked ? 'plans-v2-m-a-tooltip-monthly-selected' : ''
|
|
|
|
)
|
|
|
|
.tooltip-arrow
|
|
|
|
.tooltip-inner
|
|
|
|
span(hidden=!monthlyAnnualToggleChecked data-ol-tooltip-period='monthly') #{translate("save_20_percent_by_paying_annually")}
|
|
|
|
span(hidden=monthlyAnnualToggleChecked data-ol-tooltip-period='annual') #{translate("saving_20_percent")}
|
|
|
|
|
2022-06-03 09:43:33 -04:00
|
|
|
label.plans-v2-m-a-switch(data-ol-plans-v2-m-a-switch)
|
|
|
|
input(
|
|
|
|
type="checkbox"
|
2022-09-20 06:06:07 -04:00
|
|
|
checked=monthlyAnnualToggleChecked
|
2022-06-03 09:43:33 -04:00
|
|
|
role="switch"
|
|
|
|
autocomplete="off"
|
|
|
|
event-tracking=eventTracking
|
|
|
|
event-tracking-mb="true"
|
|
|
|
event-tracking-trigger="click"
|
|
|
|
event-tracking-element="checkbox"
|
|
|
|
event-segmentation=eventSegmentation
|
|
|
|
)
|
|
|
|
span
|
2023-01-27 10:04:33 -05:00
|
|
|
span(data-ol-plans-v2-m-a-switch-text='monthly') #{translate("monthly")}
|