about summary refs log tree commit diff
path: root/views
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-09-26 11:45:33 +0200
committerfranck cuny <franck@lumberjaph.net>2010-09-26 11:45:33 +0200
commitb2a14e92721e392ba19d9ff90b44b68cfdd62edd (patch)
tree45648885c2c0da25a750f5b53ac98d2f6533a20b /views
parentfix error o nget (diff)
downloadjitterbug-b2a14e92721e392ba19d9ff90b44b68cfdd62edd.tar.gz
don't display last update when no update is available
Diffstat (limited to 'views')
-rw-r--r--views/index.tt4
1 files changed, 3 insertions, 1 deletions
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 @@
             <h3><a href="<: $uri_base :>project/<: $project.name :>"><: $project.name :></a></h3>
             <div class="repo-body">
               <p class="desc"><: $project.description :></p>
-              <p class="updated-at">last updated at <: $project.last_build.timestamp :></p>
+              :if $project.last_build.timestamp {
+                <p class="updated-at">last updated at <: $project.last_build.timestamp :></p>
+              :}
               <div class="last-builds">
                 :for $project.last_build.version.keys() -> $version {
                   <a href="<: $uri_base :>/api/build/<: $project.name :>/<: $project.last_build.commit :>/<: $version :>"><: $version :></a> <span class="<: $project.last_build.version[$version] :>"><: $project.last_build.version[$version] :></span>