changeset 470:a4bf8280ed0b

sawmill: Sort treepkgs in overview by description
author Sascha Teichmann <teichmann@intevation.de>
date Fri, 10 Sep 2010 09:30:48 +0000
parents b207d63f305a
children 5fa4b938a939
files contrib/sawmill/web/templates/overview.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/sawmill/web/templates/overview.html	Thu Sep 09 16:18:54 2010 +0000
+++ b/contrib/sawmill/web/templates/overview.html	Fri Sep 10 09:30:48 2010 +0000
@@ -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">
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)