overleaf/services/web/app/views/subscriptions/plans.pug
Jessica Lawshe 679d91c4d2 Update default plans view conditional
Fixes a flash of unwanted content on Firefox
2018-06-05 12:58:18 -05:00

18 lines
607 B
Text

extends ../layout
include _plans_page_mixins
include _plans_page_tables
block scripts
script(type='text/javascript').
window.recomendedCurrency = '#{recomendedCurrency}'
window.abCurrencyFlag = '#{abCurrencyFlag}'
window.shouldABTestPlans = #{shouldABTestPlans || false}
block content
.content.content-alt
.content.plans(ng-controller="PlansController")
.container(class="more-details" ng-cloak ng-if="plansVariant === 'more-details'")
include _plans_page_details_more
.container(ng-cloak ng-if="plansVariant === 'default' || !shouldABTestPlans")
include _plans_page_details_less