2013-02-20 14:54:33 +00:00
[% WRAPPER layout.tt title="Overview" hideHeader=1 %]
2009-04-02 16:15:57 +00:00
[% PROCESS common.tt %]
2010-04-27 13:29:08 +00:00
[% IF newItems.size != 0 %]
2012-04-12 18:12:07 +00:00
<div class="alert alert-info">
2010-04-27 13:29:08 +00:00
[% FOREACH i IN newsItems %]
[% contents = String.new(i.contents) %]
2013-01-22 13:41:02 +00:00
<h4 class="alert-heading">[% INCLUDE renderDateTime timestamp=i.createtime %] by [% i.author.fullname %]</h4>
2012-04-12 18:12:07 +00:00
[% contents.replace('\n','<br />\n') %]
2010-04-27 13:29:08 +00:00
[% END %]
</div>
[% END %]
2009-04-02 16:15:57 +00:00
<h2>Projects</h2>
<p>The following projects are hosted on this server:</p>
2013-04-26 12:49:11 +00:00
<table class="table table-condensed table-striped clickable-rows">
2009-04-02 16:15:57 +00:00
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
[% FOREACH p IN projects %]
2013-02-22 17:05:04 +00:00
<tr>
<td><span class="[% IF !p.enabled %]disabled-project[% END %] [%+ IF p.hidden %]hidden-project[% END %]">[% INCLUDE renderProjectName project=p.name inRow=1 %]</span></td>
2009-04-02 16:15:57 +00:00
<td>[% HTML.escape(p.displayname) %]</td>
<td>[% WRAPPER maybeLink uri=p.homepage %][% HTML.escape(p.description) %][% END %]</td>
</tr>
[% END %]
</tbody>
</table>
[% END %]