mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-16 07:29:20 +00:00
trombi: add safeguard on user deletion
Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
1 parent
f85ce96225
commit
38026025af
4 files changed
+12
-12
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user