This commit is contained in:
Tim Lorsbach
2026-05-28 21:55:36 +02:00
parent 498feb3ab9
commit 4490e262f0
9 changed files with 50 additions and 16 deletions

View File

@ -56,8 +56,8 @@
<ul class="menu bg-base-200 rounded-box">
{% for um in group.user_member.all %}
<li>
<a href="{{ um.url }}" class="hover:bg-base-300"
>{{ um.username }}
<a href="{% if not user.is_superuser %}{{ um.url }}{% else %}{{ "#" }}{% endif %}" class="hover:bg-base-300"
>{{ um.username }}
{% if not um.is_active %}<i>(inactive)</i>{% endif %}</a
>
</li>