diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-11-12 14:31:30 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-11-12 14:31:30 +0000 |
commit | e632fcd933b7259853ba0522e052e73fd4f4e71a (patch) | |
tree | f17d43d93bea6806bd4ded75457c33b63d87b5b9 /syweb/webclient/recents/recents.html | |
parent | Remove getRoomAliasAndDisplayName: room name logic is in mRoomName filter, an... (diff) | |
download | synapse-e632fcd933b7259853ba0522e052e73fd4f4e71a.tar.xz |
SYWEB-57: Highlight rooms where the history has changed.
This highlights rooms when something has happened and you haven't viewed it yet. It highlights entries in a slightly red background colour.
Diffstat (limited to 'syweb/webclient/recents/recents.html')
-rw-r--r-- | syweb/webclient/recents/recents.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/syweb/webclient/recents/recents.html b/syweb/webclient/recents/recents.html index 7297e23703..386edb1417 100644 --- a/syweb/webclient/recents/recents.html +++ b/syweb/webclient/recents/recents.html @@ -1,9 +1,9 @@ <div ng-controller="RecentsController"> <table class="recentsTable"> <tbody ng-repeat="(index, room) in rooms | orderRecents" - ng-click="goToPage('room/' + (room.room_alias ? room.room_alias : room.room_id) )" - class="recentsRoom" - ng-class="{'recentsRoomSelected': (room.room_id === recentsSelectedRoomID)}"> + ng-click="selectRoom(room)" + class="recentsRoom" + ng-class="{'recentsRoomSelected': (room.room_id === recentsSelectedRoomID), 'recentsRoomUnread': (unreadMessages[room.room_id])}"> <tr> <td ng-class="room.current_room_state.state('m.room.join_rules').content.join_rule == 'public' ? 'recentsRoomName recentsPublicRoom' : 'recentsRoomName'"> {{ room.room_id | mRoomName }} |