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
1edb1b4
..
77c357b
100644
(file)
--- a/
code/templates/error.mako
+++ b/
code/templates/error.mako
@@
-5,6
+5,12
@@
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>