trombi: add safeguard on user deletion

Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
Skia
2017-06-13 00:35:49 +02:00
parent f85ce96225
commit 38026025af
4 changed files with 12 additions and 12 deletions

View File

@ -25,7 +25,7 @@
<img src="{{ file }}" alt="" style="max-width: 100px">
</div>
<div>{{ u.user.get_display_name() }}</div>
<div><a href="{{ url('trombi:delete_user', trombi_id=object.id, user_id=u.id) }}">{% trans %}Delete{% endtrans %}</a></div>
<div><a href="{{ url('trombi:delete_user', user_id=u.id) }}">{% trans %}Delete{% endtrans %}</a></div>
</div>
{% endfor %}
</div>