about summary refs log tree commit diff
path: root/views/task/index.tt
diff options
context:
space:
mode:
Diffstat (limited to 'views/task/index.tt')
-rw-r--r--views/task/index.tt31
1 files changed, 27 insertions, 4 deletions
diff --git a/views/task/index.tt b/views/task/index.tt
index 25bdeb9..ca9ba46 100644
--- a/views/task/index.tt
+++ b/views/task/index.tt
@@ -1,6 +1,29 @@
 <div id="page">
-     <div id="content">
-     <h2>Task <: $task.id :></h2>
-     started : <: $task.started_when :>
-     </div>
+  <div id="content">
+    <h2>Task <: $task.id :></h2>
+    <div class="commit" id="<: $task.id :>">
+      <div class="description">
+        <div class="message"><pre><: $commit.message :></pre></div>
+        <div class="name">
+          <div class="gravatar">
+            <img src="http://www.gravatar.com/avatar/<: $commit.avatar :>?s=30" />
+          </div>
+          <div class="author"><: $commit.author.name :></div>
+          <div class="date">pushed on <: $commit.timestamp :></div>
+        </div>
+        <div style="clear:both;"></div>
+      </div>
+      <div class="git">
+        commit&nbsp;&nbsp;&nbsp;<a href="<: $commit.url :>"><: $commit.id :></a><br />
+        <: if $commit.ref { :>
+          on&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<: $commit.ref :>
+        <: } :>
+        <br />
+        <: if $commit.build.start_time { :>
+          started <: $task.started_when :>
+        <: } :>
+        <br />
+      </div>
+    </div>
+  </div>
 </div>