2014-01-29 21:18:13 +00:00
|
|
|
//div(ng-controller='MemberModalCtrl')
|
2013-09-08 10:13:55 +00:00
|
|
|
#memberModal(modal='modals.member')
|
2014-01-29 21:18:13 +00:00
|
|
|
|
|
|
|
|
script(type='text/ng-template', id='modals/member.html')
|
|
|
|
|
.modal-header(bindonce='profile')
|
|
|
|
|
h3
|
|
|
|
|
span {{profile.profile.name}}
|
|
|
|
|
span(ng-if='profile.contributor.level') - {{contribText(profile.contributor, profile.backer)}}
|
|
|
|
|
.modal-body(bindonce='profile')
|
|
|
|
|
.row-fluid
|
|
|
|
|
.span6
|
|
|
|
|
img(ng-show='profile.profile.imageUrl', ng-src='{{profile.profile.imageUrl}}')
|
|
|
|
|
markdown(ng-show='profile.profile.blurb', ng-model='profile.profile.blurb')
|
|
|
|
|
ul.muted.unstyled(ng-if='profile.auth.timestamps', style='margin-top:10px;')
|
|
|
|
|
li {{profile._id}}
|
|
|
|
|
li(ng-show='profile.auth.timestamps.created')=env.t('memberSince')
|
|
|
|
|
| {{timestamp(profile.auth.timestamps.created)}} -
|
|
|
|
|
li(ng-show='profile.auth.timestamps.loggedin')=env.t('lastLoggedIn')
|
|
|
|
|
| {{timestamp(profile.auth.timestamps.loggedin)}} -
|
|
|
|
|
h3=env.t('stats')
|
2014-02-02 12:26:35 +00:00
|
|
|
.label.label-info {{ {warrior:'Warrior',wizard:'Mage',healer:'Healer',rogue:'Rogue'}[user.stats.class] }}
|
2014-01-29 21:18:13 +00:00
|
|
|
include ../profiles/stats
|
|
|
|
|
.span6
|
|
|
|
|
include ../header/avatar
|
|
|
|
|
h3 Achievements
|
|
|
|
|
include ../profiles/achievements
|
|
|
|
|
.modal-footer
|
|
|
|
|
button.btn.btn-default(ng-click='modals.member = false')=env.t('ok')
|