Mercurial > treepkg
comparison contrib/sawmill/web/index.py @ 483:28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
template include files.
author | Sascha Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 18 Sep 2010 09:46:22 +0000 |
parents | d8012571f9e1 |
children |
comparison
equal
deleted
inserted
replaced
482:a89f73f7c965 | 483:28aa6ac933fb |
---|---|
35 | 35 |
36 description = ''.join(dom.xpath("//description/text()")) | 36 description = ''.join(dom.xpath("//description/text()")) |
37 | 37 |
38 descriptions.append((os.path.basename(d), description)) | 38 descriptions.append((os.path.basename(d), description)) |
39 | 39 |
40 template.run({'descriptions': descriptions}) | 40 template.run({ |
41 'page_title' : 'Free Software forestry', | |
42 'back_link' : '/', | |
43 'descriptions': descriptions | |
44 }) |