about summary refs log tree commit diff
path: root/views
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-02-13 13:58:10 +0100
committerfranck cuny <franck@lumberjaph.net>2011-02-13 13:58:10 +0100
commit37dae747364370453e0d54d1b2a7aec289f71a4b (patch)
treec3fc18ddeeadf12a8f6aba5130467ae67d394e64 /views
parentcolumn started_when: datetime when the build started (diff)
downloadjitterbug-37dae747364370453e0d54d1b2a7aec289f71a4b.tar.gz
update templates to show informations about running tasks
Diffstat (limited to 'views')
-rw-r--r--views/index.tt4
-rw-r--r--views/task/index.tt1
2 files changed, 4 insertions, 1 deletions
diff --git a/views/index.tt b/views/index.tt
index d657f48..4e7eba2 100644
--- a/views/index.tt
+++ b/views/index.tt
@@ -4,10 +4,12 @@
 
     <div class="builds-running">
     : if $runnings {
-      The following projects are building:
+      <div class="running-build">
+      The following project is building:
         : for $runnings -> $running {
           <a href="<: $uri_base :>/task/<: $running.id :>"><: $running.project :></a>
         : }
+        </div>
     : }
     </div>
     
diff --git a/views/task/index.tt b/views/task/index.tt
index baa76bf..25bdeb9 100644
--- a/views/task/index.tt
+++ b/views/task/index.tt
@@ -1,5 +1,6 @@
 <div id="page">
      <div id="content">
      <h2>Task <: $task.id :></h2>
+     started : <: $task.started_when :>
      </div>
 </div>