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
Added nc
[invirt/packages/invirt-web.git]
/
code
/
templates
/
error.mako
diff --git
a/code/templates/error.mako
b/code/templates/error.mako
index
51c6a65
..
77c357b
100644
(file)
--- a/
code/templates/error.mako
+++ b/
code/templates/error.mako
@@
-5,10
+5,16
@@
ERROR!
</%def>
ERROR!
</%def>
+%if os.path.exists("/etc/invirt/motd.html"):
+<div class="result">
+<p class="error">${open('/etc/invirt/motd.html').read()|n}</p>
+</div>
+%endif
+
<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>
-<p>Feel free to poke us at <tt>xvm@mit.edu</tt> if this bug is
+<p>Feel free to poke us at <tt>${config.contact}</tt> if this bug is
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>
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>