{% 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:"?" %} 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 queue_length=task_queue_length|default_if_none:"?"|intcomma %} {{ queue_length }} queued tasks {% endblocktranslate %}