Full error handling
[invirt/packages/invirt-web.git] / code / templates / error.mako
similarity index 73%
rename from code/templates/error.tmpl
rename to code/templates/error.mako
index ff9b4e0..51c6a65 100644 (file)
@@ -1,11 +1,10 @@
-#from skeleton import skeleton
-#extends skeleton
+<%page expression_filter="h"/>
+<%inherit file="skeleton.mako" />
 
-#def title
+<%def name="title()">
 ERROR!
-#end def
+</%def>
 
-#def body
 <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>
-$details
+${details}
 </pre>
-#end def