From 27a740d4b1ad36f4783523932d050ef316ba17a6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 6 Nov 2013 12:05:56 +0100 Subject: [PATCH] Don't show an empty projects list --- src/root/overview.tt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/root/overview.tt b/src/root/overview.tt index 965cb129..9b31aeb5 100644 --- a/src/root/overview.tt +++ b/src/root/overview.tt @@ -15,6 +15,8 @@

Projects

+[% IF projects.size != 0 %] +

The following projects are hosted on this server:

@@ -36,4 +38,11 @@
+[% ELSE %] + +
Hydra has no projects yet. Please + create a project.
+ +[% END %] + [% END %]