mirror of
https://github.com/wekan/wekan.git
synced 2026-02-14 04:04:21 +01:00
(Re-)implement default avatar using user initials
We use a embedded svg to scale the initials text to its container size. The user is free to overwrite its initials in the profile form.
This commit is contained in:
parent
0b6c229b6c
commit
765b0168ea
6 changed files with 91 additions and 43 deletions
|
|
@ -47,13 +47,15 @@ template(name="labelsWidget")
|
|||
i.fa.fa-plus
|
||||
|
||||
template(name="memberPopup")
|
||||
.board-member-menu: .mini-profile-info
|
||||
+userAvatar(user=user)
|
||||
.info
|
||||
h3.bottom
|
||||
.js-profile
|
||||
= user.profile.name
|
||||
p.quiet.bottom @#{user.username}
|
||||
.board-member-menu
|
||||
.miniprofile-header
|
||||
+userAvatar(userId=user._id)
|
||||
.info
|
||||
h3.bottom
|
||||
.js-profile
|
||||
= user.profile.name
|
||||
p.quiet.bottom @#{user.username}
|
||||
|
||||
if currentUser.isBoardMember
|
||||
ul.pop-over-list
|
||||
li
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue