diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-08-14 17:40:27 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-08-14 17:40:38 +0100 |
commit | 5de086b736218d43bd51c3b83ca26118806488a2 (patch) | |
tree | 0b4bcad068b903bb512feba3ca1214c2fd75d9ed /webclient/room/room.html | |
parent | We can now upload avatar image somewhere (diff) | |
download | synapse-5de086b736218d43bd51c3b83ca26118806488a2.tar.xz |
More helpful display when the event stream fails, wiping it when the connection is regained.
Diffstat (limited to 'webclient/room/room.html')
-rw-r--r-- | webclient/room/room.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html index 0f86a158ec..3b9ba713de 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -86,7 +86,10 @@ <button ng-click="inviteUser(userIDToInvite)">Invite</button> </span> <button ng-click="leaveRoom()">Leave</button> - <button ng-click="loadMoreHistory()" ng-disabled="!state.can_paginate">MOAR HISTORY</button> + <button ng-click="loadMoreHistory()" ng-disabled="!state.can_paginate">Load more history</button> + <div ng-hide="!state.stream_failure"> + {{ state.stream_failure.data.error || "Connection failure" }} + </div> </div> </div> |