about summary refs log tree commit diff
path: root/views/task
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-05-09 11:14:03 +0200
committerfranck cuny <franck@lumberjaph.net>2011-05-09 16:43:04 +0200
commit60cf9a7981d9bc4e8a5d8e4126b26546451ae60b (patch)
tree2a42c5bc1022dd881a7610f43a2de9a70cf67559 /views/task
parentadd a new route to the API to list all tasks (diff)
downloadjitterbug-60cf9a7981d9bc4e8a5d8e4126b26546451ae60b.tar.gz
don't show started_when when a task is not started (closes GH #58)
Signed-off-by: franck cuny <franck@lumberjaph.net>
Diffstat (limited to 'views/task')
-rw-r--r--views/task/index.tt3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/task/index.tt b/views/task/index.tt
index ca9ba46..faf49cf 100644
--- a/views/task/index.tt
+++ b/views/task/index.tt
@@ -1,3 +1,4 @@
+
 <div id="page">
   <div id="content">
     <h2>Task <: $task.id :></h2>
@@ -19,7 +20,7 @@
           on&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<: $commit.ref :>
         <: } :>
         <br />
-        <: if $commit.build.start_time { :>
+        <: if $task.started_when { :>
           started <: $task.started_when :>
         <: } :>
         <br />