Merge branch 'group_display' into 'master'

fix group display for Groups that are Group Leaders

See merge request allianceauth/allianceauth!1670
This commit is contained in:
Ariel Rin 2024-12-09 23:54:18 +00:00
commit 7120b3956c

View File

@ -56,7 +56,7 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if g.group.authgroup.group_leaders.all.count %} {% if g.group.authgroup.group_leader_groups.all.count %}
{% for group in g.group.authgroup.group_leader_groups.all %} {% for group in g.group.authgroup.group_leader_groups.all %}
<span class="my-1 me-1 badge bg-secondary">{{group.name}}</span> <span class="my-1 me-1 badge bg-secondary">{{group.name}}</span>
{% endfor %} {% endfor %}