From 14e418cafa7428a66865aafcf67b09031832a9c5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 16 Aug 2013 18:26:01 +0200 Subject: [PATCH] Don't show bogus last-checked times --- src/root/project.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/root/project.tt b/src/root/project.tt index c98876e6..bf36d76d 100644 --- a/src/root/project.tt +++ b/src/root/project.tt @@ -43,7 +43,7 @@ [% INCLUDE renderJobsetName project=project.name jobset=j.name inRow=1 %] [% HTML.escape(j.description) %] - [% INCLUDE renderDateTime timestamp = j.lastcheckedtime %] + [% IF j.lastcheckedtime; INCLUDE renderDateTime timestamp = j.lastcheckedtime; ELSE; "-"; END %] [% IF j.get_column('nrtotal') > 0 %] [% successrate = ( j.get_column('nrsucceeded') / j.get_column('nrtotal') )*100 %] [% IF j.get_column('nrscheduled') > 0 %]