maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH maposmatic] Fixed typo preventing feeds/maps fro


From: David Decotigny
Subject: [Maposmatic-dev] [PATCH maposmatic] Fixed typo preventing feeds/maps from working
Date: Tue, 29 Jun 2010 09:37:06 +0200

---
 www/templates/maposmatic/map-feed.html |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/templates/maposmatic/map-feed.html 
b/www/templates/maposmatic/map-feed.html
index 3575f09..90323ce 100644
--- a/www/templates/maposmatic/map-feed.html
+++ b/www/templates/maposmatic/map-feed.html
@@ -43,11 +43,11 @@
     {% if obj.has_output_files %}
     <h4>{% trans "Files: " %}</h4>
     <ul>
-      <li>{% trans "Map: " %} {% for file in job.output_files.maps %}<a 
href="{{ file.1 }}" title="{{ file.2 }}">{{ file.0|upper }}</a> ({{ 
file.3|filesizeformat }}){% if not forloop.last %}, {% endif %}{% endfor 
%}.</li>
-      {% 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 %}
+      <li>{% trans "Map: " %} {% for file in obj.output_files.maps %}<a 
href="{{ file.1 }}" title="{{ file.2 }}">{{ file.0|upper }}</a> ({{ 
file.3|filesizeformat }}){% if not forloop.last %}, {% endif %}{% endfor 
%}.</li>
+      {% if obj.output_files.indeces|length %}<li>{% trans "Index: " %} {% for 
file in obj.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 not obj.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.6.3.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]