kopia lustrzana https://github.com/hholzgra/maposmatic/
maps page: don't show warning about no index for multi-page renderings
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>stable
rodzic
6181ce205b
commit
94c12805a2
|
@ -60,7 +60,7 @@
|
|||
{% if job.output_files.indeces|length %}<li>{% trans "Index: " %} {% for file in job.output_files.indeces %}<a href="{{ file.1 }}" title="{{ file.2 }}">{{ file.0|upper }}</a> ({{ file.3|filesizeformat }}){% if not forloop.last %}, {% endif %}{% endfor %}.</li>{% endif %}
|
||||
</ul>
|
||||
|
||||
{% 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 <a href="http://wiki.openstreetmap.org/wiki/Getting_Involved">OSM Wiki</a> for a start. {% endblocktrans %}{% endif %}
|
||||
{% if job.layout != "multi_page" and 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 <a href="http://wiki.openstreetmap.org/wiki/Getting_Involved">OSM Wiki</a> for a start. {% endblocktrans %}{% endif %}
|
||||
|
||||
{% else %}
|
||||
{% trans "The generated files are no longer available." %}
|
||||
|
|
Ładowanie…
Reference in New Issue