2015-05-30 15:50:48 +02:00
|
|
|
template(name="userAvatar")
|
2015-06-08 11:47:06 +02:00
|
|
|
.member.js-member(title="{{userData.profile.fullname}} ({{userData.username}})")
|
|
|
|
|
if userData.profile.avatarUrl
|
|
|
|
|
img.avatar.avatar-image(src=userData.profile.avatarUrl)
|
2015-05-30 15:50:48 +02:00
|
|
|
if showStatus
|
|
|
|
|
span.member-presence-status(class=presenceStatusClassName)
|
|
|
|
|
span.member-type(class=memberType)
|
|
|
|
|
|
|
|
|
|
template(name="userPopup")
|
|
|
|
|
.board-member-menu
|
|
|
|
|
.mini-profile-info
|
|
|
|
|
+userAvatar(user=user)
|
2015-06-08 11:47:06 +02:00
|
|
|
.info
|
|
|
|
|
h3.bottom
|
|
|
|
|
a.js-profile(href="{{pathFor route='Profile' username=user.username}}")= user.profile.name
|
|
|
|
|
p.quiet.bottom @{{ user.username }}
|
2015-05-30 15:50:48 +02:00
|
|
|
|
|
|
|
|
template(name="memberName")
|
2015-06-08 11:47:06 +02:00
|
|
|
a.js-show-mem-menu(href="{{pathFor route='Profile' username=user.username}}")
|
|
|
|
|
= user.profile.fullname
|
2015-05-30 15:50:48 +02:00
|
|
|
if username
|
|
|
|
|
| ({{ user.username }})
|
2015-06-08 11:47:06 +02:00
|
|
|
|
|
|
|
|
template(name="changeAvatarPopup")
|
|
|
|
|
ul.pop-over-list
|
|
|
|
|
each uploadedAvatars
|
|
|
|
|
li: a.js-select-avatar
|
|
|
|
|
.member: .avatar
|
|
|
|
|
img.avatar-image(src="{{url avatarUrlOptions}}")
|
|
|
|
|
| Uploaded avatar
|
|
|
|
|
if isSelected
|
|
|
|
|
i.fa.fa-check
|
|
|
|
|
p.sub-name
|
|
|
|
|
unless isSelected
|
|
|
|
|
a.js-delete-avatar
|
|
|
|
|
| Delete
|
|
|
|
|
| -
|
|
|
|
|
= original.name
|
|
|
|
|
input.hide.js-upload-avatar-input(accept="image/*;capture=camera" type="file")
|
|
|
|
|
button.full.js-upload-avatar
|
|
|
|
|
i.fa.fa-upload
|
|
|
|
|
| Upload an avatar
|