{% load i18n %} {% load l10n %} {% load extratags %}
{% with date=map.submission_time|date:"DATETIME_FORMAT" %} {% endwith %} {% if map.is_rendering %} {% with date=map.startofrendering_time|date:"DATETIME_FORMAT" duration=map.submission_time|timesince:map.startofrendering_time %} {% endwith %} {% endif %} {% if map.is_done or map.is_obsolete %} {% with date=map.startofrendering_time|date:"DATETIME_FORMAT" duration=map.submission_time|timesince:map.startofrendering_time %} {% endwith %} {% with date=map.endofrendering_time|date:"DATETIME_FORMAT" duration=map.startofrendering_time|timesince:map.endofrendering_time %} {% endwith %} {% endif %} {% if map.is_cancelled %} {% with map.endofrendering_time|date:"DATETIME_FORMAT" as date %} {% endwith %} {% endif %}
{% trans "Queue" %}{{ map.queue }}
{% trans "Request submitted" %}{% blocktrans with map.submission_time|timesince as since %}{{since}} ago{% endblocktrans %}
{% trans "Rendering started" %}{% blocktrans with map.submission_time|timesince as since %}{{since}} ago{% endblocktrans %}, {% blocktrans %}after {{ duration}} in the queue{% endblocktrans %}
{% trans "Rendering started" %}{% blocktrans with map.startofrendering_time|timesince as since %}{{since}} ago{% endblocktrans %}, {% blocktrans %}after {{ duration}} in the queue{% endblocktrans %}
{% trans "Rendering completed" %}{% blocktrans with map.endofrendering_time|timesince as since %}{{since}} ago{% endblocktrans %}, {% blocktrans %}after {{ duration }} {% endblocktrans %}
{% trans "Rendering cancelled" %}{{ date }}
{% if map.status == 0 %} {% elif map.status == 1 %} {% elif map.status == 2 %} {% if map.resultmsg == "ok" %} {% else %} {% endif %} {% elif map.status == 3 %} {% elif map.status == 4 %} {% else %} {% endif %} {% if not map.needs_waiting %}
{% endif %} {% if map.has_output_files %}
{% trans "Downloads" %}
{% for format,file in map.output_files.maps.items %} {% if format == "pdf" %} {% elif format == "png" %} {% elif format == "8bit.png" %} {% elif format == "jpg" %} {% elif format == "svgz"%} {% else %} {% endif %}
{{format|upper}}
({{file.2|filesizeformat}})
{% endfor %} {% if map.output_files.indeces|length %} {% for format,file in map.output_files.indeces.items %}
{{format|upper}}
({{file.2|filesizeformat}})
{% endfor %} {% endif %}
{% elif map.get_errorlog %} {% else %} {% trans "Download" %} {% endif %} {% if map.needs_waiting %} {% if map.is_waiting %} {% if nonce == map.nonce %}
{% endif %} {% endif %} {% endif %}
{% if map.get_thumbnail %} {% endif %}