Moved all code for service messages to unauth.make
[invirt/packages/invirt-web.git] / code / templates / unauth.mako
index dc49d8f..ec67c80 100644 (file)
@@ -13,10 +13,11 @@ own complete system on which you can start from our <strong>three-minute
 Debian or Ubuntu install</strong> or install the <strong>operating
 system of your choice</strong>.  The service is <strong>free</strong>
 to any Athena account holder.</p>
-%if serviceMessage:
-<table><tr><td class="result">
-<p class="error">${serviceMessage}</p>
-</td></tr></table>
+
+%if os.path.exists("/etc/invirt/message"):
+<div class="result">
+<p class="error">${open('/etc/invirt/message').read()}</p>
+</div>
 %endif
 
 <p>MIT users:</p>