diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-12 10:48:06 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-12 10:48:06 +0200 |
commit | d9343289045d4a733710706421ab528626cc02d4 (patch) | |
tree | f43995120776ac5127aae0865f2799b1b362b3c6 /webclient/room/room.html | |
parent | Show room name updates in room history and recents. (diff) | |
download | synapse-d9343289045d4a733710706421ab528626cc02d4.tar.xz |
Added edition of room name
Diffstat (limited to '')
-rw-r--r-- | webclient/room/room.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html index e8d8c3f46a..72c8a97adb 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -3,9 +3,16 @@ <div id="roomHeader"> <a href ng-click="goToPage('/')"><img src="img/logo-small.png" width="100" height="43" alt="[matrix]"/></a> <div class="roomHeaderInfo"> - <div id="roomName"> - {{ room_id | mRoomName }} + + <div class="roomNameSection"> + <div ng-hide="name.isEditing" ng-dblclick="name.editName()" id="roomName"> + {{ room_id | mRoomName }} + </div> + <form ng-submit="name.updateName()" ng-show="name.isEditing" class="roomNameForm"> + <input ng-model="name.newNameText" ng-blur="name.cancelEdit()" class="roomNameInput" /> + </form> </div> + <div class="roomTopicSection"> <button ng-hide="events.rooms[room_id]['m.room.topic'].content.topic || topic.isEditing" ng-click="topic.editTopic()" class="roomTopicSetNew"> |