not use view in accounts

This commit is contained in:
Lisa P 2016-01-07 14:22:39 +01:00
parent f9df4b1896
commit 253a56f47d

View File

@ -1,14 +1,15 @@
{{#if allHooks.isLoaded}}
<header>
{{#if config.billingEndpoint}}
<div class="cta-btn">
{{#if view.subscribed}}
{{#if subscribeButtonInfo.subscribed}}
<a class="btn btn-activated" href={{billingUrl}}>
Subscription active!
</a>
{{else}}
{{#if view.education}}
{{#if subscribeButtonInfo.education}}
<a class="btn btn-activated" href={{billingUrl}}>
Educational account!
</a>