about summary refs log tree commit diff
path: root/views
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-05-02 21:43:31 +0200
committerfranck cuny <franck@lumberjaph.net>2011-05-02 21:43:31 +0200
commitb28268d75688f971f39a24065797ff068cbf5f7b (patch)
treebd02c2b99ee4bb79635b9a535f580902685c0a11 /views
parentTell the manifest that our readme is markdown (diff)
downloadjitterbug-feature/dashboard.tar.gz
implement some of #12 feature/dashboard
for each project, check the status of the last build. If there is a
FAIL on one version, the project name is in RED, else GREEN.

Signed-off-by: franck cuny <franck@lumberjaph.net>
Diffstat (limited to 'views')
-rw-r--r--views/index.tt3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/index.tt b/views/index.tt
index a6e0919..19e9c84 100644
--- a/views/index.tt
+++ b/views/index.tt
@@ -17,10 +17,9 @@
 
       <div class="first"> 
         <h3>Repositories (<: $projects.size() :>)</h3>
-
         : for $projects -> $project {
         <div class="repo">
-          <h3><a href="<: $uri_base :>project/<: $project.name :>"><: $project.name :></a></h3>
+          <h3><a class="<: $project.last_build_status :>" href="<: $uri_base :>project/<: $project.name :>"><: $project.name :></a></h3>
           <div class="repo-body">
             <p class="desc"><: $project.description :></p>
             :if $project.last_build.timestamp {