Make small user pictures hoverable to show larger version of profile picture.

This commit is contained in:
Jan Böhmer 2023-01-25 00:16:10 +01:00
parent 0063d360ce
commit 04c6d582f2
3 changed files with 24 additions and 2 deletions

View file

@ -169,7 +169,7 @@
{% endmacro %}
{% macro user_icon(user) %}
<img src="{{ avatar_helper.avatarSmURL(user) }}" class="rounded" style="height: 1.2rem;" alt="User avatar">
<img src="{{ avatar_helper.avatarSmURL(user) }}" class="rounded" style="height: 1.2rem;" alt="User avatar" {{ stimulus_controller('elements/hoverpic') }} data-thumbnail="{{ avatar_helper.avatarMdURL(user) }}">
{% endmacro %}
{% macro parameters_table(parameters) %}