diff options
| author | franck cuny <franck@lumberjaph.net> | 2011-05-02 21:43:31 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2011-05-02 21:43:31 +0200 |
| commit | b28268d75688f971f39a24065797ff068cbf5f7b (patch) | |
| tree | bd02c2b99ee4bb79635b9a535f580902685c0a11 /views/index.tt | |
| parent | Tell the manifest that our readme is markdown (diff) | |
| download | jitterbug-b28268d75688f971f39a24065797ff068cbf5f7b.tar.gz | |
implement some of #12feature/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/index.tt')
| -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 { |
