projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Full error handling
[invirt/packages/invirt-web.git]
/
code
/
templates
/
error.mako
diff --git
a/code/templates/error.tmpl
b/code/templates/error.mako
similarity index 73%
rename from
code/templates/error.tmpl
rename to
code/templates/error.mako
index
ff9b4e0
..
51c6a65
100644
(file)
--- a/
code/templates/error.tmpl
+++ b/
code/templates/error.mako
@@
-1,11
+1,10
@@
-#from skeleton import skeleton
-#extends skeleton
+<%page expression_filter="h"/>
+<%inherit file="skeleton.mako" />
-#def title
+<%def name="title()">
ERROR!
ERROR!
-#end def
+</%def>
-#def body
<p>Uh-oh! We experienced an error. Sorry about that. We've gotten
mail about it.</p>
<p>Uh-oh! We experienced an error. Sorry about that. We've gotten
mail about it.</p>
@@
-15,6
+14,5
@@
consistently biting you and we don't seem to be fixing it.</p>
<p>In case you're curious, the gory details are below.</p>
<pre>
<p>In case you're curious, the gory details are below.</p>
<pre>
-$details
+${details}
</pre>
</pre>
-#end def