diff options
Diffstat (limited to 'syweb/webclient/room/room.html')
-rw-r--r-- | syweb/webclient/room/room.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/syweb/webclient/room/room.html b/syweb/webclient/room/room.html index 430a37afd4..1f1cd9baef 100644 --- a/syweb/webclient/room/room.html +++ b/syweb/webclient/room/room.html @@ -5,11 +5,15 @@ <pre> {{event_selected | json}} </pre> </div> <div class="modal-footer"> - <button ng-click="redact()" type="button" class="btn btn-danger" + <button ng-click="redact()" type="button" class="btn btn-danger redact-button" ng-disabled="!room.current_room_state.state('m.room.ops_levels').content.redact_level || !pow(room_id, state.user_id) || pow(room_id, state.user_id) < room.current_room_state.state('m.room.ops_levels').content.redact_level" title="Delete this event on all home servers. This cannot be undone."> Redact - </button> + </button> + + <button ng-click="dismiss()" type="button" class="btn"> + Close + </button> </div> </script> |