2018-04-12 17:11:52 -04:00
|
|
|
|
|
|
|
//- Features Tables
|
|
|
|
mixin table_premium
|
|
|
|
table.card.plans-table
|
|
|
|
tr
|
|
|
|
th
|
|
|
|
th #{translate("personal")}
|
|
|
|
th #{translate("collaborator")}
|
|
|
|
.outer.outer-top
|
|
|
|
.outer-content
|
|
|
|
.best-value
|
|
|
|
strong #{translate('best_value')}
|
|
|
|
th #{translate("professional")}
|
|
|
|
|
|
|
|
tr
|
|
|
|
td #{translate("price")}
|
|
|
|
td #{translate("free")}
|
|
|
|
td
|
|
|
|
+price_collaborator
|
|
|
|
td
|
|
|
|
+price_professional
|
|
|
|
|
|
|
|
for feature in planFeatures
|
|
|
|
tr
|
2018-08-27 10:03:01 -04:00
|
|
|
td(event-tracking="features-table" event-tracking-trigger="hover" event-tracking-ga="subscription-funnel" event-tracking-label=`${feature.feature}`)
|
2018-04-12 17:11:52 -04:00
|
|
|
if feature.info
|
|
|
|
span(tooltip=translate(feature.info)) #{translate(feature.feature)}
|
|
|
|
else
|
|
|
|
| #{translate(feature.feature)}
|
|
|
|
for plan in feature.plans
|
|
|
|
td
|
|
|
|
if feature.value == 'str'
|
|
|
|
| #{plan}
|
|
|
|
else if plan
|
|
|
|
i.fa.fa-check
|
|
|
|
else
|
|
|
|
i.fa.fa-times
|
|
|
|
|
|
|
|
tr
|
|
|
|
td
|
|
|
|
td
|
|
|
|
+btn_buy_free('table')
|
|
|
|
td
|
|
|
|
+btn_buy_collaborator('table')
|
|
|
|
.outer.outer-btm
|
|
|
|
.outer-content
|
|
|
|
td
|
|
|
|
+btn_buy_professional('table')
|
|
|
|
|
|
|
|
mixin table_cell_student(feature)
|
|
|
|
if feature.value == 'str'
|
|
|
|
| #{feature.student}
|
|
|
|
else if feature.student
|
|
|
|
i.fa.fa-check
|
|
|
|
else
|
|
|
|
i.fa.fa-times
|
|
|
|
|
|
|
|
mixin table_student
|
|
|
|
table.card.plans-table
|
|
|
|
tr
|
|
|
|
th
|
|
|
|
th #{translate("personal")}
|
|
|
|
th #{translate("student")} (#{translate("annual")})
|
|
|
|
.outer.outer-top
|
|
|
|
.outer-content
|
|
|
|
.best-value
|
|
|
|
strong Best Value
|
|
|
|
th #{translate("student")}
|
|
|
|
|
|
|
|
tr
|
|
|
|
td #{translate("price")}
|
|
|
|
td #{translate("free")}
|
|
|
|
td
|
|
|
|
+price_student_annual
|
|
|
|
td
|
|
|
|
+price_student_monthly
|
|
|
|
|
|
|
|
for feature in planFeatures
|
|
|
|
tr
|
2018-08-27 10:03:01 -04:00
|
|
|
td(event-tracking="plans-page-table" event-tracking-trigger="hover" event-tracking-ga="subscription-funnel" event-tracking-label=`${feature.feature}`)
|
2018-04-12 17:11:52 -04:00
|
|
|
if feature.info
|
|
|
|
span(tooltip=translate(feature.info)) #{translate(feature.feature)}
|
|
|
|
else
|
|
|
|
| #{translate(feature.feature)}
|
|
|
|
td
|
|
|
|
if feature.value == 'str'
|
|
|
|
| #{feature.plans.free}
|
|
|
|
else if feature.plans.free
|
|
|
|
i.fa.fa-check
|
|
|
|
else
|
|
|
|
i.fa.fa-times
|
|
|
|
td
|
|
|
|
+table_cell_student(feature)
|
|
|
|
td
|
|
|
|
+table_cell_student(feature)
|
|
|
|
|
|
|
|
tr
|
|
|
|
td
|
|
|
|
td
|
|
|
|
+btn_buy_free('table')
|
|
|
|
td
|
|
|
|
+btn_buy_student('table', 'annual')
|
|
|
|
.outer.outer-btm
|
|
|
|
.outer-content
|
|
|
|
td
|
|
|
|
+btn_buy_student('table', 'monthly')
|