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

index 5684466ea276237c7ff6d95035d114b1e708ee80..5435281caddf42eaec72275462e8685398c96315 100644 (file)
@@ -35,7 +35,7 @@ var resourceMap = new ResourceMap('.continents', {
     <ul>
     {% for country in group.countries %}
       <li id="resource-{{country.id}}" class="country_name resourcemap-element">
-        <a href="{% url "telemeta-geo-country-collections" group.continent.flatname,country.flatname %}">
+        <a href="{% url "telemeta-geo-country-collections" group.continent.flatname country.flatname %}">
           <span class="resourcemap-name">{{ country }}</span></a>
         {% if not country.latitude|is_none and not country.longitude|is_none %}
         <input type="hidden" class="resourcemap-lat" value="{{country.latitude}}" />