|
|
@@ -202,8 +202,7 @@ mixin table_head_group_collaborator(highlighted, eventTrackingKey, additionalEve
|
|
|
ul.plans-v2-table-th-content-benefit
|
|
|
li #{translate("up_to")} !{translate("x_collaborators_per_project", {collaboratorsCount: '10'})}
|
|
|
li
|
|
|
- span.plans-v2-group-total-price(data-ol-plans-v2-group-total-price='collaborator') #{initialLocalizedGroupPrice.price.collaborator}
|
|
|
- span #{translate("total_per_year_lowercase")}
|
|
|
+ +table_head_group_total_per_year('collaborator')
|
|
|
.plans-v2-table-btn-buy-container-desktop
|
|
|
+btn_buy_group_collaborator(highlighted, eventTrackingKey)
|
|
|
+additional_link_group(eventTrackingKey, additionalEventSegmentation, 'group_collaborator')
|
|
|
@@ -224,12 +223,20 @@ mixin table_head_group_professional(highlighted, eventTrackingKey, additionalEve
|
|
|
ul.plans-v2-table-th-content-benefit
|
|
|
li #{translate("unlimited_collaborators_in_each_project")}
|
|
|
li
|
|
|
- span.plans-v2-group-total-price(data-ol-plans-v2-group-total-price='professional') #{initialLocalizedGroupPrice.price.professional}
|
|
|
- span #{translate("total_per_year_lowercase")}
|
|
|
+ +table_head_group_total_per_year('professional')
|
|
|
.plans-v2-table-btn-buy-container-desktop
|
|
|
+btn_buy_group_professional(highlighted, eventTrackingKey)
|
|
|
+additional_link_group(eventTrackingKey, additionalEventSegmentation, 'group_professional')
|
|
|
|
|
|
+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})}
|
|
|
|
|
|
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))
|
|
|
@@ -310,15 +317,22 @@ mixin table_head_price(plan, period)
|
|
|
| per month
|
|
|
|
|
|
mixin table_cell(feature, plan)
|
|
|
- .plans-v2-table-cell-inner-content
|
|
|
+ - var planValue = feature.plans[plan]
|
|
|
+ - var featureName = feature.feature
|
|
|
+
|
|
|
+ .plans-v2-table-cell(
|
|
|
+ data-ol-plans-v2-table-cell-plan=plan
|
|
|
+ data-ol-plans-v2-table-cell-feature=featureName
|
|
|
+ )
|
|
|
if (feature.value === 'str')
|
|
|
- | #{feature.plans[plan]}
|
|
|
- else if (feature.plans[plan])
|
|
|
- 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")}
|
|
|
+ | #{planValue}
|
|
|
+ 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")}
|
|
|
|
|
|
mixin group_plans_license_picker()
|
|
|
form.plans-v2-license-picker-form(data-ol-plans-v2-license-picker-form)
|