WEB-27: We don't need to show the user-count in Recents in the room sidepanel - takes up too much room

This commit is contained in:
Emmanuel ROHEE 2014-09-16 17:07:47 +02:00
parent 3395a3305f
commit 06dfbdf7c8
2 changed files with 7 additions and 2 deletions

View File

@ -603,7 +603,7 @@ a:active { color: #000; }
width: auto;
}
.recentsRoomSummaryTS {
.recentsRoomSummaryUsersCount, .recentsRoomSummaryTS {
color: #888;
font-size: 12px;
width: 7em;
@ -616,6 +616,11 @@ a:active { color: #000; }
padding-bottom: 5px;
}
/* Do not show users count in the recents fragment displayed on the room page */
#roomPage .recentsRoomSummaryUsersCount {
width: 0em;
}
/*** Recents in the room page ***/
#roomRecentsTableWrapper {

View File

@ -8,7 +8,7 @@
<td class="recentsRoomName">
{{ room.room_id | mRoomName }}
</td>
<td class="recentsRoomSummaryTS">
<td class="recentsRoomSummaryUsersCount">
<span ng-show="undefined !== room.numUsersInRoom">
{{ room.numUsersInRoom || '1' }} {{ room.numUsersInRoom == 1 ? 'user' : 'users' }}
</span>