fix: twig list-users

* fix display of user profile
* add text muting if user is inactive
This commit is contained in:
Ryan Prather 2025-01-21 14:43:20 -05:00
parent 6effcba396
commit 0c5fa617ad

View File

@ -38,9 +38,9 @@
<td>
<div class='d-flex px-2 py-1'>
<div>
<img src='' class='avatar avatar-sm me-3 border-radius-large' alt='{{ user.name }}'>
{% if user.imageName %}<img src='{{ user_image_path }}/{{ user.imageName }}' class='avatar avatar-sm me-3 border-radius-large' alt='{{ user.name }}'>{% endif %}
</div>
<div class='d-flex flex-column justify-content-center'>
<div class='d-flex flex-column justify-content-center{% if not user.active %} text-muted {% endif %}'>
<h6 class='mb-0 text-small'>{{ user.name }}</h6>
<p class='text-xs text-secondary mb-0'>
<a href='mailto:{{ user.email }}'>{{ user.email }}</a>