diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/index.tt | 4 |
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> |