Add link to /acccount/subscription from /account/settings
This commit is contained in:
parent
542cd98329
commit
31e7b36310
2 changed files with 10 additions and 0 deletions
app
|
@ -747,6 +747,7 @@
|
|||
password_tab: "Password"
|
||||
emails_tab: "Emails"
|
||||
admin: "Admin"
|
||||
manage_subscription: "Click here to manage your subscription."
|
||||
new_password: "New Password"
|
||||
new_password_verify: "Verify"
|
||||
type_in_email: "Type in your email to confirm account deletion."
|
||||
|
|
|
@ -26,6 +26,15 @@ else
|
|||
.form-group.checkbox
|
||||
label(for="godmode", data-i18n="account_settings.god_mode") God Mode
|
||||
input#godmode(name="godmode", type="checkbox", checked=godmode)
|
||||
if me.hasSubscription()
|
||||
.form-group
|
||||
label(data-i18n="account.subscription")
|
||||
br
|
||||
span.spr ✓
|
||||
span(data-i18n="account.active")
|
||||
span.spr= '.'
|
||||
// TODO: show better summary states, like active, subscribed, free, and active until.
|
||||
a(href="/account/subscription", data-i18n="account_settings.manage_subscription")
|
||||
|
||||
|
||||
.panel.panel-default
|
||||
|
|
Reference in a new issue