]> git.parisson.com Git - telemeta.git/commitdiff
fix geo links
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 13 Nov 2014 01:38:21 +0000 (02:38 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 13 Nov 2014 01:38:21 +0000 (02:38 +0100)
telemeta/templates/telemeta/geo_countries.html
telemeta/templates/telemeta/geo_country_items.html

index 12f15286770301554563e70901f8837c427ce9a6..6d81e04b56a7f69abbd081ed3ff262aaded10e8f 100644 (file)
     <td>{{ country }}</td>
     <td>
     {% with country.collections.count as num %}
-    <a href="{% url "telemeta-geo-country-collections" continent.flatname,country.flatname %}">
+    <a href="{% url "telemeta-geo-country-collections" continent.flatname country.flatname %}">
     {% blocktrans count num as counter %}1 collection{% plural %}{{ counter }} collections{% endblocktrans %}
     </a>
     {% endwith %}
     </td>
     <td>
     {% with country.items.count as num %}
-    <a href="{% url "telemeta-geo-country-items" continent.flatname,country.flatname %}">
+    <a href="{% url "telemeta-geo-country-items" continent.flatname country.flatname %}">
     {% blocktrans count num as counter %}1 item{% plural %}{{ counter }} items {% endblocktrans %}
     </a>
     {% endwith %}
index b28ac69fabff517ae719bfb544d54a29e5afe1a6..ffd1469cd33483b769802b4fe74773309f284300 100644 (file)
@@ -6,7 +6,7 @@
 
 {% block title %}
 <a href="{% url "telemeta-geo-continents" %}">{% trans "World" %}</a> /
-  <a href="{% url "telemeta-geo-countries" continent.flatname %}">{{ continent }}</a> 
+  <a href="{% url "telemeta-geo-countries" continent.flatname %}">{{ continent }}</a>
   / {{ country }}
 {% endblock title %}