summaryrefslogtreecommitdiff
path: root/views/index.tt
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-02-13 14:15:23 +0100
committerfranck cuny <franck@lumberjaph.net>2011-02-13 14:15:23 +0100
commit412587ddac4ba483d06bef9a8a89c07b4d3cf44b (patch)
tree3b58b44657d4e3c2817228a7984f2436e90f1244 /views/index.tt
parentMerge branch 'refactor_builder' (diff)
parentupdate templates to show informations about running tasks (diff)
downloadjitterbug-412587ddac4ba483d06bef9a8a89c07b4d3cf44b.tar.gz
resolve merge conflict
Diffstat (limited to 'views/index.tt')
-rw-r--r--views/index.tt17
1 files changed, 15 insertions, 2 deletions
diff --git a/views/index.tt b/views/index.tt
index 6359157..4e7eba2 100644
--- a/views/index.tt
+++ b/views/index.tt
@@ -2,6 +2,17 @@
<div id="content">
<h2>Dashboard</h2>
+ <div class="builds-running">
+ : if $runnings {
+ <div class="running-build">
+ The following project is building:
+ : for $runnings -> $running {
+ <a href="<: $uri_base :>/task/<: $running.id :>"><: $running.project :></a>
+ : }
+ </div>
+ : }
+ </div>
+
<div class="columns">
<div class="first">
@@ -26,13 +37,15 @@
</div>
<div class="last">
- <h3>Builds pending</h3>
+ <h3>Builds pending (<: $builds.size :>)</h3>
+ <div class="comming-builds">
<ul>
: for $builds -> $build {
- <li><a href="<: $uri_base :>task/<: $build :>"><: $build :></a></li>
+ <li><a href="<: $uri_base :>task/<: $build.id :>"><: $build.project :> (id: <: $build.id :>)</a></li>
: }
</ul>
+ </div>
</div>
</div>