2014-12-10 16:42:12 -05:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block content
|
|
|
|
|
|
|
|
ol.breadcrumb
|
|
|
|
li
|
|
|
|
a(href="/")
|
|
|
|
span.glyphicon.glyphicon-home
|
|
|
|
li
|
|
|
|
a(href="/account", data-i18n="nav.account")
|
|
|
|
li.active(data-i18n="account.subscription")
|
|
|
|
|
|
|
|
.panel.panel-default
|
|
|
|
.panel-heading
|
|
|
|
if subscribed
|
|
|
|
button.end-subscription-button.btn.btn-lg.btn-warning(data-i18n="subscribe.unsubscribe") Unsubscribe
|
|
|
|
else if !me.isAnonymous()
|
|
|
|
button.start-subscription-button.btn.btn-lg.btn-success(data-i18n="subscribe.subscribe_title") Subscribe
|
|
|
|
|
|
|
|
.panel-body
|
|
|
|
table.table.table-striped
|
|
|
|
tr
|
2014-12-12 10:27:28 -05:00
|
|
|
th(data-i18n="user.status") Status
|
2014-12-10 16:42:12 -05:00
|
|
|
td
|
|
|
|
if subscribed
|
|
|
|
strong(data-i18n="account.subscribed")
|
|
|
|
else
|
|
|
|
if active
|
|
|
|
strong(data-i18n="account.active")
|
|
|
|
.text-muted(data-i18n="account.status_unsubscribed_active")
|
|
|
|
else
|
|
|
|
strong(data-i18n="account.unsubscribed")
|
|
|
|
.text-muted(data-i18n="account.status_unsubscribed")
|
|
|
|
if activeUntil
|
|
|
|
tr
|
|
|
|
th(data-i18n="account.active_until")
|
|
|
|
td= moment(activeUntil).format('l')
|
|
|
|
if nextPaymentDate
|
|
|
|
tr
|
2014-12-11 09:57:58 -05:00
|
|
|
th(data-i18n="account.next_payment")
|
2014-12-10 16:42:12 -05:00
|
|
|
td= moment(nextPaymentDate).format('l')
|
|
|
|
if cost
|
|
|
|
tr
|
|
|
|
th(data-i18n="account.cost")
|
|
|
|
td= cost
|
|
|
|
if card
|
|
|
|
tr
|
|
|
|
th(data-i18n="account.card")
|
|
|
|
td= card
|