travis-web/app/templates/profile/show.hbs
2015-02-05 11:35:47 +01:00

26 lines
541 B
Handlebars

<h3>{{view.name}}</h3>
{{#if config.billingEndpoint}}
{{#if view.subscribed}}
<a class="button activated" {{bind-attr href="billingUrl"}}>
Subscription active!
</a>
{{else}}
{{#if view.education}}
<a class="button activated" {{bind-attr href="billingUrl"}}>
Educational account!
</a>
{{else}}
<a class="button activate" {{bind-attr href="billingUrl"}}>
Sign up this account!
</a>
{{/if}}
{{/if}}
{{/if}}
{{view 'profile-tabs'}}
<div class="tab">
{{outlet}}
</div>