Убрал возможность бана админов
This commit is contained in:
parent
2c1119a7ae
commit
8a727c9253
@ -19,6 +19,7 @@
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
{% if user.role != 1 %}
|
||||
<div class="user_active">
|
||||
<label class="active_label">Активирован</label>
|
||||
<input class="choose_active" name="active_{{user.id}}" type="checkbox" value="y" {% if user.activated == 1 %}checked="yes"{% endif %}>
|
||||
@ -27,6 +28,7 @@
|
||||
<label class="banned_label">Бан</label>
|
||||
<input class="choose_banned" name="banned_{{user.id}}" type="checkbox" value="y" {% if user.banned == 1 %}checked="yes"{% endif %}>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user