Add Profile to account page (Issue #2388)

This commit is contained in:
laituan245 2015-02-25 04:03:46 +09:00
parent 4cbbcdad6d
commit a78f864607

View file

@ -15,9 +15,12 @@ block content
#account-links.panel.panel-default #account-links.panel.panel-default
.panel-heading(data-i18n="nav.account") .panel-heading(data-i18n="nav.account")
ul.list-group ul.list-group
li.list-group-item
profileHref = "/user/" + me.id
a.btn.btn-lg.btn-primary(href= profileHref, data-i18n="nav.profile")
li.list-group-item li.list-group-item
a.btn.btn-lg.btn-primary(href="/account/settings", data-i18n="play.settings") a.btn.btn-lg.btn-primary(href="/account/settings", data-i18n="play.settings")
li.list-group-item li.list-group-item
a.btn.btn-lg.btn-primary(href="/account/payments", data-i18n="account.payments") a.btn.btn-lg.btn-primary(href="/account/payments", data-i18n="account.payments")
li.list-group-item li.list-group-item
a.btn.btn-lg.btn-primary(href="/account/subscription", data-i18n="account.subscription") a.btn.btn-lg.btn-primary(href="/account/subscription", data-i18n="account.subscription")