Mercurial > treepkg
comparison contrib/sawmill/web/details.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 | a8f77807d710 |
children | f208b139190b |
comparison
equal
deleted
inserted
replaced
482:a89f73f7c965 | 483:28aa6ac933fb |
---|---|
155 track_items = __scan_track_items(treepkg, found) | 155 track_items = __scan_track_items(treepkg, found) |
156 | 156 |
157 req.content_type = 'text/html;charset=utf-8' | 157 req.content_type = 'text/html;charset=utf-8' |
158 template = psp.PSP(req, filename='templates/details.html') | 158 template = psp.PSP(req, filename='templates/details.html') |
159 template.run({ | 159 template.run({ |
160 'base_dir': BASE_DIR, | 160 'page_title' : description, |
161 'back_link' : 'index.py', | |
162 'base_dir' : BASE_DIR, | |
161 'description': description, | 163 'description': description, |
162 'header': header, | 164 'header' : header, |
163 'track_items': track_items | 165 'track_items': track_items |
164 }) | 166 }) |