{% comment %} coding: utf-8 maposmatic, the web front-end of the MapOSMatic city map generation system Copyright (C) 2009 David Decotigny Copyright (C) 2009 Frédéric Lehobey Copyright (C) 2009 David Mentré Copyright (C) 2009 Maxime Petazzoni Copyright (C) 2009 Thomas Petazzoni Copyright (C) 2009 Gaël Utard This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . {% endcomment %} {% load i18n %} {% load extratags %} {% if not single %} {% if not job.needs_waiting %}
{% endif %}

{{ job.maptitle }}

{% endif %} {% if job.get_thumbnail %}{% endif %}
{% if job.is_waiting %}{% ifequal nonce job.nonce %}
{% endifequal %}{% endif %} {% if job.administrative_city %} {% ifnotequal job.administrative_city job.maptitle %}

{{ job.administrative_city }}

{% endifnotequal %} {% else %}

({{ job.lat_upper_left|floatformat:3 }}, {{ job.lon_upper_left|floatformat:3 }}) → ({{ job.lat_bottom_right|floatformat:3 }}, {{ job.lon_bottom_right|floatformat:3 }})

{% endif %}

{% trans "Rendering: " %}

{% trans "Rendering submitted" %} {{ job.submission_time|date:"l d M Y\, H:i:s" }}.
{% if job.is_waiting %}{% trans "In queue, position" %} {{ job.current_position_in_queue }}.{% endif %} {% if job.is_rendering %}{% trans "Rendering in progress..." %}{% endif %} {% if not job.needs_waiting %} {% if job.is_done_ok or job.is_obsolete_ok %}{% trans "Completed on" %}{% endif %} {% if job.is_done_failed or job.is_obsolete_failed %}{% trans "Failed on" %}{% endif %} {% if job.is_cancelled %}{% trans "Cancelled on" %}{% endif %} {{ job.endofrendering_time|date:"l d M Y\, H:i:s" }}{% if job.rendering_time_gt_1min %} ({% blocktrans with job.startofrendering_time|timesince:job.endofrendering_time as rendering %}rendering took {{ rendering }}{% endblocktrans %}){% endif %}. {% if job.has_output_files %}

{% trans "Files: " %}

  • {% trans "Map: " %} {% for file in job.output_files.maps %}{{ file.0|upper }} ({{ file.3|filesizeformat }}){% if not forloop.last %}, {% endif %}{% endfor %}.
  • {% if job.output_files.indeces|length %}
  • {% trans "Index: " %} {% for file in job.output_files.indeces %}{{ file.0|upper }} ({{ file.3|filesizeformat }}){% if not forloop.last %}, {% endif %}{% endfor %}.
  • {% endif %}
{% if not job.output_files.indeces|length %}{% blocktrans %}No index was generated because no information was available in OpenStreetMap to create one. Feel free to contribute the missing data yourself. See the OSM Wiki for a start. {% endblocktrans %}{% endif %} {% else %} {% if job.is_obsolete %}

{% trans "The generated files are no longer available." %}

{% endif %} {% endif %} {% endif %}