[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH] maps page: don't show warning about no index fo
From: |
Thomas Petazzoni |
Subject: |
[Maposmatic-dev] [PATCH] maps page: don't show warning about no index for multi-page renderings |
Date: |
Tue, 24 Apr 2012 20:03:29 +0200 |
Signed-off-by: Thomas Petazzoni <address@hidden>
---
www/templates/maposmatic/map.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/www/templates/maposmatic/map.html
b/www/templates/maposmatic/map.html
index 56141f4..66205ed 100644
--- a/www/templates/maposmatic/map.html
+++ b/www/templates/maposmatic/map.html
@@ -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." %}
--
1.7.5.4
- [Maposmatic-dev] [PATCH] maps page: don't show warning about no index for multi-page renderings,
Thomas Petazzoni <=