mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
don't display delete link if the user is deactivated
This commit is contained in:
parent
e0a40a0c7c
commit
1ccfa8a07d
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
|||
<td class="{% if balance[member] > 0 %}positive{% elif balance[member] < 0 %}negative{% endif %}">
|
||||
{% if balance[member] > 0 %}+{% endif %}{{ balance[member] }}
|
||||
</td>
|
||||
<td> <a class="remove" href="{{ url_for("remove_member", member_id=member.id) }}">delete</a></td>
|
||||
<td> {% if member.activated %}<a class="remove" href="{{ url_for("remove_member", member_id=member.id) }}">delete</a>{% endif %}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue