{% extends 'settings/admin_layout.html' %} {% load i18n %} {% load markdown %} {% block title %}{{ server.server_name }}{% endblock %} {% block header %} {{ server.server_name }} {% if server.status == "blocked" %}{% trans "Blocked" %} {% endif %} {% trans "Back to server list" %} {% endblock %} {% block panel %}

{% trans "Details" %}

{% trans "Software:" %}
{{ server.application_type }}
{% trans "Version:" %}
{{ server.application_version }}
{% trans "Status:" %}
{{ server.status }}

{% trans "Activity" %}

{% trans "Users:" %}
{{ users.count }} {% if server.user_set.count %}({% trans "View all" %}){% endif %}
{% trans "Reports:" %}
{{ reports.count }} {% if reports.count %}({% trans "View all" %}){% endif %}
{% trans "Followed by us:" %}
{{ followed_by_us.count }}
{% trans "Followed by them:" %}
{{ followed_by_them.count }}
{% trans "Blocked by us:" %}
{{ blocked_by_us.count }}

{% trans "Notes" %}

{% trans "Edit" as button_text %} {% include 'snippets/toggle/open_button.html' with text=button_text icon_with_text="pencil" controls_text="edit-notes" %}
{% if server.notes %}
{{ server.notes|to_markdown|safe }}
{% endif %}

{% trans "Actions" %}

{% if server.status != 'blocked' %}
{% csrf_token %}

{% trans "All users from this instance will be deactivated." %}

{% else %}
{% csrf_token %}

{% trans "All users from this instance will be re-activated." %}

{% endif %}
{% endblock %}