diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-18 17:49:50 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-18 17:49:50 +0200 |
commit | 301e55d11da31a505bba58abb1dbb2caf766a5c3 (patch) | |
tree | 6741d79fbff81cb16a5f4260f2f2fad807d71904 /webclient/room | |
parent | Join room: open the room URL with the room alias in it (diff) | |
download | synapse-301e55d11da31a505bba58abb1dbb2caf766a5c3.tar.xz |
In members list, on avatar mouseover, show a tooltip with the user matrix id
Diffstat (limited to 'webclient/room')
-rw-r--r-- | webclient/room/room.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html index 106a9dfd15..1c6a44f6fc 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -11,8 +11,12 @@ <table id="usersTable"> <tr ng-repeat="member in members | orderMembersList"> <td class="userAvatar"> - <img class="userAvatarImage" ng-src="{{member.avatar_url || 'img/default-profile.jpg'}}" width="80" height="80"/> - <img class="userAvatarGradient" src="img/gradient.png" width="80" height="24"/> + <img class="userAvatarImage" + ng-src="{{member.avatar_url || 'img/default-profile.jpg'}}" + alt="{{ member.displayname || member.id.substr(0, member.id.indexOf(':')) }}" + title="{{ member.id }}" + width="80" height="80"/> + <img class="userAvatarGradient" src="img/gradient.png" title="{{ member.id }}" width="80" height="24"/> <div class="userName">{{ member.displayname || member.id.substr(0, member.id.indexOf(':')) }}<br/>{{ member.displayname ? "" : member.id.substr(member.id.indexOf(':')) }}</div> </td> <td class="userPresence" ng-class="member.presenceState === 'online' ? 'online' : (member.presenceState === 'unavailable' ? 'unavailable' : '')"> |