Ignore:
Timestamp:
Jan 21, 2010, 3:06:28 AM (14 years ago)
Author:
quentin
Message:

Put the MOTD at /etc/invirt/motd.html and parse it as HTML

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/templates/unauth.mako

    r2907 r2910  
    1515to any Athena account holder.</p>
    1616
    17 %if os.path.exists("/etc/invirt/message"):
     17%if os.path.exists("/etc/invirt/motd.html"):
    1818<div class="result">
    19 <p class="error">${open('/etc/invirt/message').read()}</p>
     19<p class="error">${open('/etc/invirt/motd.html').read()|n}</p>
    2020</div>
    2121%endif
Note: See TracChangeset for help on using the changeset viewer.