diff options
author | franck cuny <franck@lumberjaph.net> | 2011-05-09 09:38:31 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2011-05-09 16:42:15 +0200 |
commit | ec18b6e5b6d99cdf0566af2805092ad5bdda9085 (patch) | |
tree | fe0f241e8717003ce66fdc3d9d7a9f44ca1b5027 /views/task/index.tt | |
parent | implement some of #12 (diff) | |
download | jitterbug-ec18b6e5b6d99cdf0566af2805092ad5bdda9085.tar.gz |
show more informations about a task (closes GH #55)
Signed-off-by: franck cuny <franck@lumberjaph.net>
Diffstat (limited to 'views/task/index.tt')
-rw-r--r-- | views/task/index.tt | 31 |
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 <a href="<: $commit.url :>"><: $commit.id :></a><br /> + <: if $commit.ref { :> + on <: $commit.ref :> + <: } :> + <br /> + <: if $commit.build.start_time { :> + started <: $task.started_when :> + <: } :> + <br /> + </div> + </div> + </div> </div> |