[% WRAPPER layout.tt title="Overview" %] [% PROCESS common.tt %] [% IF newItems.size != 0 %]
[% FOREACH i IN newsItems %] [% contents = String.new(i.contents) %]

[% INCLUDE renderDateTime timestamp=i.createtime %] by [% i.author.fullname %]
[% contents.replace('\n','
\n') %] [% END %]

[% END %]

Projects

The following projects are hosted on this server:

[% IF c.check_user_roles('admin') %][% END %] [% FOREACH p IN projects %] [% IF c.check_user_roles('admin') %] [% END %] [% END %]
Id Name DescriptionOptions
[% INCLUDE renderProjectName project = p.name %] [% HTML.escape(p.displayname) %] [% WRAPPER maybeLink uri=p.homepage %][% HTML.escape(p.description) %][% END %] [ [% IF p.hidden %] [% INCLUDE maybeLink uri = c.uri_for('/project' p.name 'unhide') content = "Unhide" %] [% ELSE %] [% INCLUDE maybeLink uri = c.uri_for('/project' p.name 'hide') content = "Hide" %] [% END %] ]
[% IF c.user_exists %]

[ [% INCLUDE maybeLink uri = c.uri_for(c.controller('Project').action_for('create')) content = "Create project" %] ]

[% END %] [% END %]