[geany/www.geany.org] 154d07: List previous releases in a more compact four column layout

Enrico Tröger git-noreply at xxxxx
Sun Jan 5 18:48:48 UTC 2014


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Sun, 15 Dec 2013 18:52:13 UTC
Commit:      154d07d4809bac89fc66ee237619e5ed1f28521a
             https://github.com/geany/www.geany.org/commit/154d07d4809bac89fc66ee237619e5ed1f28521a

Log Message:
-----------
List previous releases in a more compact four column layout


Modified Paths:
--------------
    static_docs/templates/pages/documentation/releasenotes.html

Modified: static_docs/templates/pages/documentation/releasenotes.html
13 files changed, 9 insertions(+), 4 deletions(-)
===================================================================
@@ -11,12 +11,17 @@
 </pre>
 
 <h3>Older Releases</h3>
-<ul>
+<div class="row">
 {% for release in releases %}
-    {% if release.version != selected_release.version %}
-        <li><a href="{% url 'releasenotes_for_release' release.version %}">Geany {{ release.version }}</a></li>
+    <div class="span2">
+        <a href="{% url 'releasenotes_for_release' release.version %}">Geany {{ release.version }}</a>
+    </div>
+
+    {% if forloop.counter|divisibleby:4 %}
+        </div>
+        <div class="row">
     {% endif %}
 {% endfor %}
-</ul>
+</div>
 
 {% endblock %}



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list