{% load i18n %} {% load humanize %}
{% translate "Alliance Auth Notifications" %}
    {% for notif in notifications %}
  • {% if notif.state == 'opened' %} {% translate "Open" %} {% else %} {% translate "Closed" %} {% endif %} #{{ notif.iid }} {{ notif.title }}
  • {% endfor %}
{% translate "Software Version" %}
  • {% translate "Current" %}

    {{ current_version }}

  • {% translate "Latest Stable" %}

    {{ latest_patch_version }} {% if not latest_patch %}
    {% translate "Update available" %} {% endif %}

  • {% if latest_beta %}
  • {% translate "Latest Pre-Release" %}

    {{ latest_beta_version }}
    {% translate "Pre-Release available" %}

  • {% endif %}
{% translate "Task Queue" %}

{% blocktranslate with total=tasks_total|intcomma latest=earliest_task|timesince|default_if_none:"?" %} Status of {{ total }} processed tasks • last {{ latest }} {% endblocktranslate %}

{% include "allianceauth/admin-status/celery_bar_partial.html" with label="suceeded" level="success" tasks_count=tasks_succeeded %} {% include "allianceauth/admin-status/celery_bar_partial.html" with label="retried" level="info" tasks_count=tasks_retried %} {% include "allianceauth/admin-status/celery_bar_partial.html" with label="failed" level="danger" tasks_count=tasks_failed %}

{% blocktranslate with tasks_count=tasks_running|default_if_none:"?"|intcomma %} Running: {{ tasks_count }} {% endblocktranslate %} {% blocktranslate with tasks_count=task_queue_length|default_if_none:"?"|intcomma %} | Queued: {{ tasks_count }} {% endblocktranslate %} {% if tasks_succeeded %} {% blocktranslate with tasks_count=tasks_succeeded|default_if_none:"?"|intcomma %} | Succeeded: {{ tasks_count }} {% endblocktranslate %} {% endif %} {% if tasks_retried %} {% blocktranslate with tasks_count=tasks_retried|default_if_none:"?"|intcomma %} | Retried: {{ tasks_count }} {% endblocktranslate %} {% endif %} {% if tasks_failed %} {% blocktranslate with tasks_count=tasks_failed|default_if_none:"?"|intcomma %} | Failed: {{ tasks_count }} {% endblocktranslate %} {% endif %}