summaryrefslogtreecommitdiffstats
path: root/client/components/sidebar
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-11-11 14:15:37 -0800
committerMaxime Quandalle <maxime@quandalle.com>2015-11-11 14:16:40 -0800
commitcb3bd86396e4d19e1f05fcb94e3527f81e70412e (patch)
tree620950043f89ada74b1f9a64fa93a21c2e80d682 /client/components/sidebar
parentfc82f7227ac4a38df4d5f1145f0fb5012a1545c1 (diff)
downloadwekan-cb3bd86396e4d19e1f05fcb94e3527f81e70412e.tar.gz
wekan-cb3bd86396e4d19e1f05fcb94e3527f81e70412e.tar.bz2
wekan-cb3bd86396e4d19e1f05fcb94e3527f81e70412e.zip
Improve Sandstorm usernames management
We now use the `preferredHandle` exposed by Sandstorm as source for the username and append a number if the username is already taken since we need to ensure username uniqueness (eg 'max', 'max1', 'max2') Fixes #352
Diffstat (limited to 'client/components/sidebar')
-rw-r--r--client/components/sidebar/sidebar.jade2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/sidebar/sidebar.jade b/client/components/sidebar/sidebar.jade
index 91047056..f98ea4ee 100644
--- a/client/components/sidebar/sidebar.jade
+++ b/client/components/sidebar/sidebar.jade
@@ -89,7 +89,7 @@ template(name="addMemberPopup")
a.name.js-select-member(title="{{profile.name}} ({{username}})")
+userAvatar(userId=_id esSearch=true)
span.full-name
- = profile.name
+ = profile.fullname
| (<span class="username">{{username}}</span>)
if isBoardMember
.quiet ({{_ 'joined'}})