habitica-self-host/views/shared/modals/members.jade

26 lines
1.2 KiB
Text
Raw Normal View History

div(ng-controller='MemberModalCtrl')
#memberModal(modal='modals.member')
.modal-header
h3
span {{username(profile.auth, profile.profile.name)}}
span(ng-show='profile.backer.contributor') - {{profile.backer.contributor}}
.modal-body
.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(ng-show='profile.profile.websites')
li(ng-repeat='website in profile.profile.websites')
a(href='{{website}}', target='_blank') {{website}}
2013-09-09 23:12:16 +00:00
ul.muted.unstyled(ng-if='profile.auth.timestamps', style='margin-top:10px;')
li(ng-show='profile.auth.timestamps.created') - Member since {{timestamp(profile.auth.timestamps.created)}} -
li(ng-show='profile.auth.timestamps.loggedin') - Last logged in {{timestamp(profile.auth.timestamps.loggedin)}} -
h3 Stats
include ../profiles/stats
.span6
include ../header/avatar
h3 Achievements
include ../profiles/achievements
.modal-footer
button.btn.btn-default(ng-click='modals.member = false') Ok