codecombat/app/templates/account/main-account-view.jade

36 lines
1.2 KiB
Text
Raw Normal View History

extends /templates/base
block content
if me.get('anonymous')
p(data-i18n="account_settings.not_logged_in") Log in or create an account to change your settings.
2015-09-25 13:03:44 -04:00
else
ol.breadcrumb
li
a(href="/")
span.glyphicon.glyphicon-home
li.active(data-i18n="nav.account")
2015-12-10 19:25:42 -05:00
div.row.row-top-buffer
div.col-md-4
#account-links
a.btn.btn-lg.btn-primary(href="/user/#{me.getSlugOrID()}", data-i18n="nav.profile")
2015-12-10 19:25:42 -05:00
div.col-md-4
#account-links
a.btn.btn-lg.btn-primary(href="/account/settings", data-i18n="play.settings")
if !me.isOnFreeOnlyServer()
div.col-md-4
#account-links
a.btn.btn-lg.btn-primary(href="/account/payments", data-i18n="account.payments")
2015-12-10 19:25:42 -05:00
div.row.row-bot-buffer
if !me.isOnFreeOnlyServer()
div.col-md-4
#account-links
a.btn.btn-lg.btn-primary(href="/account/subscription", data-i18n="account.subscription")
div.col-md-4
#account-links
a.btn.btn-lg.btn-primary(href="/account/prepaid", data-i18n="account.prepaid_codes") Prepaid Codes
2015-12-10 19:25:42 -05:00
div.col-md-4
#account-links
a.btn.btn-lg.btn-primary.logout-btn(href="/account", data-i18n="login.log_out")