http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/templates/minimal/html/_generic.404.html Mercurial Repository: p/roundup/code: templates/minimal/html/_generic.404.html history 2007-09-12T01:15:07+00:00 per-tracker 404 templating http://hg.code.sf.net:8000/p/roundup/code/#changeset-dd00c917fc40d8ff0ba587757e06696b45b59e67 Justus Pendleton jpend@users.sourceforge.net 2007-09-12T01:15:07+00:00 2007-09-12T01:15:07+00:00
changeset dd00c917fc40
branch
bookmark
tag
user Justus Pendleton <jpend@users.sourceforge.net>
description per-tracker 404 templating

Currently if CGI can't map a name it raises NotFound which gets
propagated up to roundup-server which generates a plain vanilla 404
page.

This changes it so that the CGI client tries to handle NotFound itself
by rendering the appropriate template: classname.404.html (or
_generic.404.html if no class specific one is found). If the URL can't
be mapped to a DB class then we just reraise NotFound and let the
upper layer take care of it.

Also, add some basic templates for it. They aren't pretty but no worse
than what you got before and provide a jumping off point for further
customization.

This should fix [SF#403287].
files