summary refs log tree commit diff
path: root/webclient/settings/settings.html
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-02 17:00:47 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-02 17:00:47 +0200
commitd3c75673699183c0707b281a98c71d245d927462 (patch)
tree948b0750ad600773825face86f256358f0b6d7df /webclient/settings/settings.html
parentBF: Reset base timer time ($scope.now) everytime last_active_ago is touched (diff)
downloadsynapse-d3c75673699183c0707b281a98c71d245d927462.tar.xz
Attempt to make avatar change clearer
Diffstat (limited to '')
-rw-r--r--webclient/settings/settings.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/webclient/settings/settings.html b/webclient/settings/settings.html
index a69a8de300..03927838d2 100644
--- a/webclient/settings/settings.html
+++ b/webclient/settings/settings.html
@@ -12,11 +12,12 @@
                 <div class="profile-avatar">
                     <img ng-src="{{ (null !== profile.avatarUrl) ? profile.avatarUrl : 'img/default-profile.png' }}" m-file-input="profile.avatarFile"/>
                 </div>
-                <div id="user-ids">
-                    <input size="40" ng-model="profile.displayName" placeholder="Your display name"/>
+                <div>
+                    <input id="user-displayname-input" size="40" ng-model="profile.displayName" placeholder="Your display name"/>
                     <br/>
-                    <button ng-disabled="(profile.displayName == profileOnServer.displayName) && (profile.avatarUrl == profileOnServer.avatarUrl)"
-                            ng-click="saveProfile()">Save</button>    
+                    <button id="user-save-button"
+                            ng-disabled="(profile.displayName === profileOnServer.displayName) && (profile.avatarUrl === profileOnServer.avatarUrl)"
+                            ng-click="saveProfile()">Save changes</button>
                 </div>
             </form>
         </div>