# HG changeset patch # User duong tam kien # Date 1487863282 -3600 # Node ID c76e9c6e52ad6fbaa118629e4e42f8c2726aea3f # Parent 5fd4fe61e1e18eec4518b45238b48b3ba88f3a80 add a temporary warning on homepage diff -r 5fd4fe61e1e1 -r c76e9c6e52ad src/iconolab/templates/iconolab/home.html --- a/src/iconolab/templates/iconolab/home.html Thu Feb 23 15:18:24 2017 +0100 +++ b/src/iconolab/templates/iconolab/home.html Thu Feb 23 16:21:22 2017 +0100 @@ -6,26 +6,45 @@ {% load iconolab_tags %} {% block content %} -
-
+
+
+ +
+ + + +
+ {% for collection in collections_primary %} -
-
- {% thumbnail collection.image "450x250" crop="center" as im %} -
- - - + {% if not forloop.counter|divisibleby:2 %} +
+
+ {% endif %} +
+ {% thumbnail collection.image "450x250" crop="center" as im %} + +
+ + + +
+ {% endthumbnail %} +
+ {% if forloop.counter|divisibleby:2 %} +
+
+ {% elif forloop.last %}
-

{{collection.verbose_name}}

- - Contribuer - -
-

{{collection.description|safe}}

- {% endthumbnail %} -
-
+ {% endif %} {% endfor %}
{% for collection in collections_secondary %} @@ -69,7 +88,7 @@ {% block footer_js %} {% endblock %}