Mercurial > treepkg
diff contrib/sawmill/web/templates/overview.html @ 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 | 333232953771 |
children | d8012571f9e1 |
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">