{% extends "base.html" %} {% load staticfiles %} {% load i18n %} {% block extrahead %} {% endblock %} {% block title %}{% trans "Dashboard" %}{% endblock %} {% block contentplaceholder %} {% csrf_token %}

{% trans "Dashboard" %}

{% trans "Timeline" %} - {% trans "Latest 10" %}
{{message}}
    {% for route in routes %}
  • {% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' or route.status == 'OUTOFSYNC'%} {% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' %}
    {% else %} {% if route.status == 'OUTOFSYNC' %}
    {% else %}
    {% endif %} {% endif %} {% else %} {% if route.status == 'ACTIVE' %}
    {% else %} {% if route.status == 'PENDING' %}
    {% else %}
    {% endif %} {% endif %} {% endif %}

    {{route.name}}

    {% trans "Last update" %}: {{route.last_updated}} {% trans "by" %} {{route.applier}}

    {% trans "Expires" %}: {{ route.expires|date:"d M y" }}

    {% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' or route.status == 'OUTOFSYNC'%} {% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' %} DEACTIVATED {% else %} {% if route.status == 'OUTOFSYNC' %} ERROR {% else %} {{route.status}} {% endif %} {% endif %} {% else %} {% if route.status == 'ACTIVE' %} {{route.status}} {% else %} {% if route.status == 'PENDING' %} {{route.status}} {% else %} {{route.status}} {% endif %} {% endif %} {% endif %}

    {{ route.get_match|safe|escape }}
    Then
    {{ route.get_then }}
    {% ifequal route.status 'ACTIVE' %} {% trans "Edit" %} {% else %} {% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' %} {% trans "Reactivate" %} {% else %} {% ifequal route.status 'OUTOFSYNC' %} {% trans "ReSync" %} {% else %} {% ifequal route.status 'ERROR' %} {% trans "Fix it!" %} {% else %} - {% endifequal %} {% endifequal %} {% endif %} {% endifequal %}
  • {% endfor %}
Live status
{% include "polldash.html" %}
{% endblock %} {% block pagejsbottom %} {% if user.is_authenticated %} {% endif %} {% endblock %}