0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 15:03:50 +01:00

On member avatar mouseover, show user_id and power level

This commit is contained in:
Emmanuel ROHEE 2014-09-11 12:01:44 +02:00
parent 14a9652324
commit cc049851d0

View file

@ -37,7 +37,7 @@
<img class="userAvatarImage"
ng-src="{{member.avatar_url || 'img/default-profile.png'}}"
alt="{{ member.displayname || member.id.substr(0, member.id.indexOf(':')) }}"
title="{{ member.id }}"
title="{{ member.id }} - power: {{ member.powerLevel }}"
width="80" height="80"/>
<img class="userAvatarGradient" src="img/gradient.png" title="{{ member.id }}" width="80" height="24"/>
<div class="userPowerLevel" ng-style="{'width': member.powerLevelNorm +'%'}"></div>