mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-23 20:35:03 +02:00
Make small user pictures hoverable to show larger version of profile picture.
This commit is contained in:
parent
0063d360ce
commit
04c6d582f2
3 changed files with 24 additions and 2 deletions
|
@ -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) %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue