earlylife condition

master
Aevann 2024-04-05 13:03:00 +02:00
parent 1b80498462
commit 410cffd82f
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@
<tr id="{{membership.user_id}}">
<td id="counter-{{membership.user_id}}">{{loop.index}}</td>
{% set is_owner = membership.user_id == group.owner_id %}
<td {% if is_owner or membership.is_mod %}class="unbreakable"{% endif %}>
<td {% if (is_owner or membership.is_mod) and not membership.user.earlylife %}class="unbreakable"{% endif %}>
{% with user=membership.user %}
{% include "user_in_table.html" %}
{% endwith %}