Moved all code for service messages to unauth.make
[invirt/packages/invirt-web.git] / code / templates / unauth.mako
index 08dd617..ec67c80 100644 (file)
@@ -13,9 +13,10 @@ 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:
+
+%if os.path.exists("/etc/invirt/message"):
 <div class="result">
-<p class="error">${serviceMessage}</p>
+<p class="error">${open('/etc/invirt/message').read()}</p>
 </div>
 %endif