{% set page_title = _("Overview") %} {% extends theme("management/management_layout.html") %} {% block breadcrumb %} {% endblock %} {% block management_content %}
{% trans %}Overview{% endtrans %}
{# TODO: I have a feeling that this can be done so much nicer #} {% if not celery_running %}

{% trans %}There is a problem.{% endtrans %}

{% trans %}Celery is not running.{% endtrans %}

{% trans %}You can start celery with this command:{% endtrans %}

flaskbb --config {{ current_app.config["CONFIG_PATH"] }} celery worker
{% elif unread_reports > 0 %}

{% trans %}There is something that wants your attention.{% endtrans %}

{% trans url=url_for('management.unread_reports') %}You have {{ unread_reports }} unread reports.{% endtrans %}

{% else %}

{% trans %}Everything seems alright.{% endtrans %}

{% trans %}No new notifications.{% endtrans %}

{% endif %}
{{ all_users }}
{{ post_count }}
{{ topic_count }}
{% trans %}Statistics{% endtrans %}
{% trans %}Registered users{% endtrans %}
{{ all_users }}
{% trans %}Online users{% endtrans %}
{{ online_users }}
{% trans %}Banned users{% endtrans %}
{{ banned_users }}
{% trans %}Groups{% endtrans %}
{{ all_groups }}
{% trans %}Topics{% endtrans %}
{{ topic_count }}
{% trans %}Posts{% endtrans %}
{{ post_count }}
{% trans %}Reports{% endtrans %}
{{ report_count }}
{% trans %}Components{% endtrans %}
FlaskBB
{{ flaskbb_version }}
Celery
{% if celery_running %} running {% else %} not running {% endif %} {{ celery_version }}
Flask
{{ flask_version }}
Python
{{ python_version }}
{% trans %}Plugins{% endtrans %}
{% for plugin in plugins %}
{% if plugin.installed %} {{ plugin.name.title() }} {% else %} {{ plugin.name.title() }} {% endif %}
{% if not plugin.enabled %} not enabled {% elif plugin.enabled and plugin.is_installed %} enabled & installed {% elif plugin.enabled and not plugin.is_installed %} not installed {% endif %} {{ plugin.version }}
{% endfor %}
{% endblock %}