summary refs log tree commit diff
path: root/webclient
diff options
context:
space:
mode:
Diffstat (limited to 'webclient')
-rwxr-xr-xwebclient/app.css4
-rw-r--r--webclient/home/home.html5
-rw-r--r--webclient/recents/recents.html2
3 files changed, 9 insertions, 2 deletions
diff --git a/webclient/app.css b/webclient/app.css
index 0c6ae9b668..b438cf0405 100755
--- a/webclient/app.css
+++ b/webclient/app.css
@@ -273,6 +273,10 @@ a:active  { color: #000; }
     font-weight: bold;
 }
 
+.publicRoomEntry {
+    margin-bottom: 5px;
+}
+
 /*** Participant list ***/
 
 #usersTableWrapper {
diff --git a/webclient/home/home.html b/webclient/home/home.html
index 12b3c7f14e..cf6771814c 100644
--- a/webclient/home/home.html
+++ b/webclient/home/home.html
@@ -25,11 +25,14 @@
     <h3>Public rooms</h3>
     
     <div class="public_rooms" ng-repeat="room in public_rooms | orderBy:'room_display_name'">
-        <div>
+        <div class="publicRoomEntry">
             <a href="#/room/{{ room.room_alias ? room.room_alias : room.room_id }}" 
                 ng-class="room.room_display_name.toLowerCase().indexOf('#matrix:') === 0 ? 'roomHighlight' : ''">
                 {{ room.room_display_name }}
             </a>
+            <div ng-show="'num_joined_members' in room">
+                {{ room.num_joined_members }} {{ room.num_joined_members == 1 ? 'user' : 'users' }}
+            </div>
         </div>
     </div>
     <br/>
diff --git a/webclient/recents/recents.html b/webclient/recents/recents.html
index b903412815..efc5c39689 100644
--- a/webclient/recents/recents.html
+++ b/webclient/recents/recents.html
@@ -9,7 +9,7 @@
                     {{ room.room_id | mRoomName }}
                 </td>
                 <td class="recentsRoomSummaryTS">
-                    {{ room.numUsersInRoom }} users
+                    {{ room.numUsersInRoom }} {{ room.numUsersInRoom == 1 ? 'user' : 'users' }}
                 </td>
                 <td class="recentsRoomSummaryTS">
                     {{ (room.lastMsg.ts) | date:'MMM d HH:mm' }}