added newsitems, added some admin options to clear various caches.

This commit is contained in:
Rob Vermaas
2010-04-27 13:29:08 +00:00
parent e18fe1078a
commit 7a79d17a36
13 changed files with 503 additions and 9 deletions

View File

@ -1,6 +1,15 @@
[% WRAPPER layout.tt title="Overview" %]
[% PROCESS common.tt %]
[% IF newItems.size != 0 %]
<div class="newsbar">
[% FOREACH i IN newsItems %]
[% contents = String.new(i.contents) %]
<p><b>[% INCLUDE renderDateTime timestamp=i.createtime %]</b> <tt>by [% i.author.fullname %]</tt> <br/>[% contents.replace('\n','<br />\n') %]
[% END %]
</div>
[% END %]
<h2>Projects</h2>
<p>The following projects are hosted on this server:</p>
@ -33,5 +42,4 @@
</p>
[% END %]
[% END %]