summaryrefslogtreecommitdiff
path: root/views/task
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-05-09 09:38:31 +0200
committerfranck cuny <franck@lumberjaph.net>2011-05-09 16:42:15 +0200
commitec18b6e5b6d99cdf0566af2805092ad5bdda9085 (patch)
treefe0f241e8717003ce66fdc3d9d7a9f44ca1b5027 /views/task
parentimplement some of #12 (diff)
downloadjitterbug-ec18b6e5b6d99cdf0566af2805092ad5bdda9085.tar.gz
show more informations about a task (closes GH #55)
Signed-off-by: franck cuny <franck@lumberjaph.net>
Diffstat (limited to '')
-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>