summaryrefslogtreecommitdiff
path: root/views/index.tt
diff options
context:
space:
mode:
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>