Mercurial > p > roundup > code
diff templates/classic/html/issue.index.html @ 3549:f6719836e521
allow dispname to be passed to renderWith [SF#1424587]
rename dispname to @dispname to avoid name clashes in the future
force demo.py to have web debugging on (since it can't mail errors)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 08 Feb 2006 04:03:54 +0000 |
| parents | f16eca38e4e5 |
| children | 1671d1e39b1a |
line wrap: on
line diff
--- a/templates/classic/html/issue.index.html Wed Feb 08 03:47:28 2006 +0000 +++ b/templates/classic/html/issue.index.html Wed Feb 08 04:03:54 2006 +0000 @@ -2,12 +2,14 @@ <tal:block metal:use-macro="templates/page/macros/icing"> <title metal:fill-slot="head_title" i18n:translate="" > List of issues - - <span tal:condition="python:request.form.has_key('dispname')" tal:replace="python:' %s - ' % request.form['dispname'].value" /> + <span tal:condition="request/dispname" + tal:replace="python:' %s - '%request.dispname" /> <span tal:replace="config/TRACKER_NAME" i18n:name="tracker" /> </title> <span metal:fill-slot="body_title" tal:omit-tag="python:1" i18n:translate="">List of issues - <span tal:condition="python:request.form.has_key('dispname')" tal:replace="python:' - %s' % request.form['dispname'].value" /> + <span tal:condition="request/dispname" + tal:replace="python:' - %s' % request.dispname" /> </span> <td class="content" metal:fill-slot="content">
