Merge branch 'admin_button' into 'master'
button See merge request mathwave/sprint!6
This commit is contained in:
commit
4577c51275
@ -24,6 +24,9 @@
|
|||||||
<h3>
|
<h3>
|
||||||
{{ account.userinfo.surname }} {{ account.userinfo.name }} {{ account.userinfo.middle_name }}
|
{{ account.userinfo.surname }} {{ account.userinfo.name }} {{ account.userinfo.middle_name }}
|
||||||
<span style="margin-left: 15px;" class="badge badge-{% if account.userinfo.activity_status == online_status %}success{% else %}secondary{% endif %}">{{ account.userinfo.activity_status }}</span>
|
<span style="margin-left: 15px;" class="badge badge-{% if account.userinfo.activity_status == online_status %}success{% else %}secondary{% endif %}">{{ account.userinfo.activity_status }}</span>
|
||||||
|
{% if user.is_superuser %}
|
||||||
|
<a style="margin-left: 15px;" href="/admin/" class="badge badge-secondary"> Админ</a>
|
||||||
|
{% endif %}
|
||||||
</h3>
|
</h3>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user