mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
In members list, on avatar mouseover, show a tooltip with the user matrix id
This commit is contained in:
parent
f8693c6b48
commit
301e55d11d
1 changed files with 6 additions and 2 deletions
|
@ -11,8 +11,12 @@
|
||||||
<table id="usersTable">
|
<table id="usersTable">
|
||||||
<tr ng-repeat="member in members | orderMembersList">
|
<tr ng-repeat="member in members | orderMembersList">
|
||||||
<td class="userAvatar">
|
<td class="userAvatar">
|
||||||
<img class="userAvatarImage" ng-src="{{member.avatar_url || 'img/default-profile.jpg'}}" width="80" height="80"/>
|
<img class="userAvatarImage"
|
||||||
<img class="userAvatarGradient" src="img/gradient.png" width="80" height="24"/>
|
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>
|
<div class="userName">{{ member.displayname || member.id.substr(0, member.id.indexOf(':')) }}<br/>{{ member.displayname ? "" : member.id.substr(member.id.indexOf(':')) }}</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="userPresence" ng-class="member.presenceState === 'online' ? 'online' : (member.presenceState === 'unavailable' ? 'unavailable' : '')">
|
<td class="userPresence" ng-class="member.presenceState === 'online' ? 'online' : (member.presenceState === 'unavailable' ? 'unavailable' : '')">
|
||||||
|
|
Loading…
Reference in a new issue