diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-09-08 13:28:55 -0700 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-09-08 13:28:55 -0700 |
commit | 054fad5360a925635fc392e5e6fa853f9b034e39 (patch) | |
tree | 58d5e66142fb32bc9390481c89b2b82b96d3bab6 /webclient/home/home.html | |
parent | Better checks are better. (diff) | |
download | synapse-054fad5360a925635fc392e5e6fa853f9b034e39.tar.xz |
Float right the num users, apply room highlight to user count.
Diffstat (limited to '')
-rw-r--r-- | webclient/home/home.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webclient/home/home.html b/webclient/home/home.html index f3abd76a05..6d599e6849 100644 --- a/webclient/home/home.html +++ b/webclient/home/home.html @@ -30,7 +30,8 @@ ng-class="room.room_display_name.toLowerCase().indexOf('#matrix:') === 0 ? 'roomHighlight' : ''"> {{ room.room_display_name }} </a> - <div ng-show="room.num_joined_members"> + <div ng-class="room.room_display_name.toLowerCase().indexOf('#matrix:') === 0 ? 'publicRoomJoinedUsers roomHighlight' : 'publicRoomJoinedUsers'" + ng-show="room.num_joined_members"> {{ room.num_joined_members }} {{ room.num_joined_members == 1 ? 'user' : 'users' }} </div> </div> |