From b2a14e92721e392ba19d9ff90b44b68cfdd62edd Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sun, 26 Sep 2010 11:45:33 +0200 Subject: don't display last update when no update is available --- views/index.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'views') diff --git a/views/index.tt b/views/index.tt index afebb93..f763aff 100644 --- a/views/index.tt +++ b/views/index.tt @@ -13,7 +13,9 @@

<: $project.name :>

<: $project.description :>

-

last updated at <: $project.last_build.timestamp :>

+ :if $project.last_build.timestamp { +

last updated at <: $project.last_build.timestamp :>

+ :}
:for $project.last_build.version.keys() -> $version { <: $version :> <: $project.last_build.version[$version] :> -- cgit v1.2.3