Added motd to pages
[invirt/packages/invirt-web.git] / code / templates / info.mako
index e83fef1..1fb4284 100644 (file)
@@ -5,6 +5,12 @@
 Info on ${machine.name}
 </%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
+
 <%def name="infoTable()">
 <h2>Info</h2>
 <table>