[Treepkg-commits] r430 - trunk/contrib/sawmill/web/templates

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Sep 10 11:30:49 CEST 2010


Author: teichmann
Date: 2010-09-10 11:30:48 +0200 (Fri, 10 Sep 2010)
New Revision: 430

Modified:
   trunk/contrib/sawmill/web/templates/overview.html
Log:
sawmill: Sort treepkgs in overview by description

Modified: trunk/contrib/sawmill/web/templates/overview.html
===================================================================
--- trunk/contrib/sawmill/web/templates/overview.html	2010-09-09 16:18:54 UTC (rev 429)
+++ trunk/contrib/sawmill/web/templates/overview.html	2010-09-10 09:30:48 UTC (rev 430)
@@ -70,7 +70,7 @@
          <div style="text-align: right"><a href="http://wald.intevation.de/">...to WALD source code repository</a></div>
 
 <% 
-for treepkg, description in descriptions: 
+for treepkg, description in sorted(descriptions, key=lambda x: x[1]):
     # for all descriptions
 %>
 <div style="magin:5px;border-bottom:1px solid #DDDDDD;padding:5px;font-weight:bold; font-size: 16pt">



More information about the Treepkg-commits mailing list