summaryrefslogtreecommitdiffstats
path: root/client/components/sidebar
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-08-20 15:54:50 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-08-20 15:59:00 +0200
commit8ae6abe603571839b74f3106ba53922a849d1125 (patch)
treed0ad47dffe81e10adde8752478c6ad8bca440b03 /client/components/sidebar
parenta79599d76c808520d36aa7c19e366906cb89982c (diff)
downloadwekan-8ae6abe603571839b74f3106ba53922a849d1125.tar.gz
wekan-8ae6abe603571839b74f3106ba53922a849d1125.tar.bz2
wekan-8ae6abe603571839b74f3106ba53922a849d1125.zip
Switch the font to roboto
Diffstat (limited to 'client/components/sidebar')
-rw-r--r--client/components/sidebar/sidebar.jade13
-rw-r--r--client/components/sidebar/sidebar.styl5
2 files changed, 11 insertions, 7 deletions
diff --git a/client/components/sidebar/sidebar.jade b/client/components/sidebar/sidebar.jade
index 9616e1df..9c15c4f1 100644
--- a/client/components/sidebar/sidebar.jade
+++ b/client/components/sidebar/sidebar.jade
@@ -51,10 +51,9 @@ template(name="memberPopup")
.miniprofile-header
+userAvatar(userId=user._id)
.info
- h3.bottom
- .js-profile
- = user.profile.fullname
- p.quiet.bottom @#{user.username}
+ h3
+ .js-profile= user.profile.fullname
+ p.quiet @#{user.username}
if currentUser.isBoardMember
ul.pop-over-list
@@ -73,7 +72,7 @@ template(name="memberPopup")
template(name="removeMemberPopup")
- p {{_ 'remove-member-pop' name=user.profile.fullname username=user.username boardTitle=board.title}}
+ p {{_ 'remove-member-pop' name=user.profile.name username=user.username boardTitle=board.title}}
button.js-confirm.negate.full(type="submit") {{_ 'remove-member'}}
template(name="addMemberPopup")
@@ -83,10 +82,10 @@ template(name="addMemberPopup")
ul.pop-over-member-list
+esEach(index="users")
li.item.js-member-item(class="{{#if isBoardMember }}disabled{{/if}}")
- a.name.js-select-member(title="{{ profile.fullname }} ({{ username }})")
+ a.name.js-select-member(title="{{ profile.name }} ({{ username }})")
+userAvatar(userId=_id)
span.full-name
- = profile.fullname
+ = profile.name
| (<span class="username">{{ username }}</span>)
if isBoardMember
.extra-text.quiet ({{_ 'joined'}})
diff --git a/client/components/sidebar/sidebar.styl b/client/components/sidebar/sidebar.styl
index a5b695e9..cda15ba5 100644
--- a/client/components/sidebar/sidebar.styl
+++ b/client/components/sidebar/sidebar.styl
@@ -21,6 +21,11 @@
h3
color: darken(white, 50%)
+ font-size: 1em
+ margin-bottom: 10px
+
+ i.fa
+ margin-right: 3px
hr
margin: 13px 0