simplifies homepage behavior
authorduong tam kien <tk@deveha.com>
Tue, 14 Mar 2017 16:13:32 +0100
changeset 429 5dca2c00a4f8
parent 428 722d8e9e2f6e
child 430 34760e26cc78
simplifies homepage behavior
src/iconolab/templates/iconolab/home.html
--- a/src/iconolab/templates/iconolab/home.html	Tue Mar 14 14:10:16 2017 +0100
+++ b/src/iconolab/templates/iconolab/home.html	Tue Mar 14 16:13:32 2017 +0100
@@ -64,7 +64,7 @@
     <h4>Les autres fonds d'images</h4>
     <ul class="list-inline list-unstyled">
       {% for collection in collections_secondary %}
-        <li><div id="show-collection-{{collection.name}}" class="btn btn-default btn-xs btn-collection" @click="pickOtherCollection('{{collection.name}}')">{{collection.verbose_name}}</div></li>
+        <li><div id="show-collection-{{collection.name}}" class="btn btn-default btn-xs btn-collection"><a href="{% url 'collection_home' collection.name %}">{{collection.verbose_name}}</a></div></li>
       {% endfor %}
     </ul>
   </div>