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/list.mako

    r2871 r2910  
    1010</%def>
    1111
    12 %if os.path.exists("/etc/invirt/message"):
     12%if os.path.exists("/etc/invirt/motd.html"):
    1313<div class="result">
    14 <p class="error">${open('/etc/invirt/message').read()}</p>
     14<p class="error">${open('/etc/invirt/motd.html').read()|n}</p>
    1515</div>
    1616%endif
Note: See TracChangeset for help on using the changeset viewer.