diff options
author | franck cuny <franck@lumberjaph.net> | 2011-05-02 21:43:31 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2011-05-09 16:42:15 +0200 |
commit | e4a521e5c0d6621edeb27df6d0c73e5648ae756a (patch) | |
tree | 16cfa6ec511daaf79e4c55128858a75ae80c04a2 /views/index.tt | |
parent | Try again to unuglify the commit description (diff) | |
download | jitterbug-e4a521e5c0d6621edeb27df6d0c73e5648ae756a.tar.gz |
implement some of #12
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 '')
-rw-r--r-- | views/index.tt | 3 |
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 { |