maposmatic-dev
[Top][All Lists]
Advanced

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

[Maposmatic-dev] [PATCH 5/6] Add an 'All' link in the letter selection.


From: Maxime Petazzoni
Subject: [Maposmatic-dev] [PATCH 5/6] Add an 'All' link in the letter selection.
Date: Thu, 7 Jan 2010 13:07:43 +0100

---
 www/templates/maposmatic/all_maps.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/www/templates/maposmatic/all_maps.html 
b/www/templates/maposmatic/all_maps.html
index cc99a1f..4c3f3bf 100644
--- a/www/templates/maposmatic/all_maps.html
+++ b/www/templates/maposmatic/all_maps.html
@@ -37,7 +37,7 @@ class="activelink"
 <h1><a href="{% url maps %}">{% trans "Maps" %}</a></h1>
 
 <p id="letterpagination">
-  {% for l in letters %}<a href="{% url maps-by-letter l %}"{% ifequal l 
current_letter %} class="selectedletter"{% endifequal %}>{{ l }}</a>{% if not 
forloop.last %} - {% endif %}{% endfor %}
+  <a href="{% url maps %}"{% if not current_letter %} class="selectedletter"{% 
endif %}>{% trans "All" %}</a> - {% for l in letters %}<a href="{% url 
maps-by-letter l %}"{% ifequal l current_letter %} class="selectedletter"{% 
endifequal %}>{{ l }}</a>{% if not forloop.last %} - {% endif %}{% endfor %}
 </p>
 
 {% for job in maps.object_list %}
-- 
1.6.3.3.261.g85c6





reply via email to

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