Mercurial > p > roundup > code
view website/issues/html/_generic.404.html @ 6428:32a04dc87b30
Make HTMLClass::history signature compatible to _HTMLItem::history
_HTMLItem::history accepts 4 optional named parameters. If a template
(e.g. issue.item.html) calls history with a named param and then is
called in the context of creating a new issue, you get a traceback.
Change HTMLClass::history to accept any named parameter so
adding new named params to _HTMLItem::history doesn't
require a change to HTMLClass::history.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 04 Jun 2021 07:28:18 -0400 |
| parents | 8d595c5486c0 |
| children |
line wrap: on
line source
<!-- dollarId: issue.item,v 1.4 2001/08/03 01:19:43 richard Exp dollar--> <tal:block metal:use-macro="templates/page/macros/icing"> <title metal:fill-slot="head_title"> Item Not Found </title> <tal:block metal:fill-slot="body_title"> Item Not Found </tal:block> <td class="content" metal:fill-slot="content"> There is no <span tal:content="context/_classname" /> with id <span tal:content="context/id"/> </td> </tal:block>
