From 6d2835f444a59a09a85866af6c9ed3f10c0e0a9b Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sun, 3 Oct 2010 11:40:37 +0200 Subject: update config, view, tests --- views/project/index.tt | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'views') diff --git a/views/project/index.tt b/views/project/index.tt index 2749989..7f3ee1f 100644 --- a/views/project/index.tt +++ b/views/project/index.tt @@ -1,33 +1,37 @@
-

<: $project :> / build history

+

<: $project.name :> / build history

- "<: $description :>" + "<: $project.description :>" :for $days -> $day {

<: $day :>

- :for $builds[$day] -> $build { -
+ :for $commits[$day] -> $commit { +
-
<: $build.message :>
-
<: $build.author.name :>
-
<: $build.timestamp :>
+
<: $commit.message :>
+
<: $commit.author.name :>
+
- :for $build.version.keys() -> $version { - <: $version :> <: $build.version[$version] :> + :for $commit.build.version.keys() -> $version { + <: $version :> <: $commit.build.version[$version] :> :}
- commit  <: $build.commit :>
+ commit   <: $commit.id :>
+ commited <: $commit.timestamp :>
+ ref      <: $commit.ref :>
+ <: if $commit.build { :> + built in <: $commit.build.end_time - $commit.build.start_time :> seconds
+ <: } :>
- -
:}
-- cgit 1.4.1