Block all/unblock all users on server block

This commit is contained in:
Mouse Reeve
2021-04-07 16:50:12 -07:00
parent 839ac061b7
commit ddba61f138
3 changed files with 13 additions and 2 deletions

View File

@ -89,8 +89,10 @@
{% csrf_token %}
{% if server.status != 'blocked' %}
<button class="button is-danger">{% trans "Block" %}</button>
<p class="help">{% trans "All users from this instance will be deactivated." %}</p>
{% else %}
<button class="button">{% trans "Un-block" %}</button>
<p class="help">{% trans "All users from this instance will be re-activated." %}</p>
{% endif %}
</form>
</section>