mirror of
https://github.com/ae-utbm/sith.git
synced 2025-01-11 09:31:12 +00:00
commit
b26e85ebb2
@ -23,7 +23,7 @@
|
|||||||
<li><a href="{{ url('rootplace:operation_logs') }}">{% trans %}Operation logs{% endtrans %}</a></li>
|
<li><a href="{{ url('rootplace:operation_logs') }}">{% trans %}Operation logs{% endtrans %}</a></li>
|
||||||
<li><a href="{{ url('rootplace:delete_forum_messages') }}">{% trans %}Delete user's forum messages{% endtrans %}</a></li>
|
<li><a href="{{ url('rootplace:delete_forum_messages') }}">{% trans %}Delete user's forum messages{% endtrans %}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if user.has_perm("core:view_userban") %}
|
{% if user.has_perm("core.view_userban") %}
|
||||||
<li><a href="{{ url("rootplace:ban_list") }}">{% trans %}Bans{% endtrans %}</a></li>
|
<li><a href="{{ url("rootplace:ban_list") }}">{% trans %}Bans{% endtrans %}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if user.can_create_subscription or user.is_root %}
|
{% if user.can_create_subscription or user.is_root %}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if user.has_perm("core:add_userban") %}
|
{% if user.has_perm("core.add_userban") %}
|
||||||
<a href="{{ url("rootplace:ban_create") }}" class="btn btn-red margin-bottom">
|
<a href="{{ url("rootplace:ban_create") }}" class="btn btn-red margin-bottom">
|
||||||
<i class="fa fa-person-circle-xmark"></i>
|
<i class="fa fa-person-circle-xmark"></i>
|
||||||
{% trans %}Ban a user{% endtrans %}
|
{% trans %}Ban a user{% endtrans %}
|
||||||
@ -44,7 +44,7 @@
|
|||||||
<summary class="clickable">{% trans %}Reason{% endtrans %}</summary>
|
<summary class="clickable">{% trans %}Reason{% endtrans %}</summary>
|
||||||
<p>{{ user_ban.reason }}</p>
|
<p>{{ user_ban.reason }}</p>
|
||||||
</details>
|
</details>
|
||||||
{% if user.has_perm("core:delete_userban") %}
|
{% if user.has_perm("core.delete_userban") %}
|
||||||
<span>
|
<span>
|
||||||
<a
|
<a
|
||||||
href="{{ url("rootplace:ban_remove", ban_id=user_ban.id) }}"
|
href="{{ url("rootplace:ban_remove", ban_id=user_ban.id) }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user