blob: f8d0ea2891a32080173837ceecda7bd78607126e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
<div id="page">
<div id="content">
<h2><a href="../">Dashboard</a> / <a href="<: $project.url :>"><: $project.name :></a> / build history <a href="<: $uri_base :>/project/<: $project.name :>/feed"><img src="<: $uri_base :>/images/feed.png" /></a></h2>
<div class="project_baseline"><strong>"<: $project.description :>"</strong></div>
:for $days -> $day {
: my $total = $total_by_days[$day];
: my $plural = $total > 1 ? 's' : '';
<h3 class="builds-day" id="builds-day-<: $day :>"><: $day :> - <: $total_by_days[$day] :> build<: $plural :></h3>
: if $~day < 3 {
<div class="commits" id="commits-day-<: $day :>">
: }else{
<div class="commits" id="commits-day-<: $day :>" style="display:none">
:}
:for $commits[$day] -> $commit {
<div class="commit" id="<: $commit.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"><: $commit.timestamp :></div>
</div>
<div style="clear:both;"></div>
<br />
<div class="builds">
:for $commit.build.version.keys() -> $version {
<a href="<: $uri_base :>/api/build/<: $project.name :>/<: $commit.id :>/<: $version :>"><: $version :></a> <span class="<: $commit.build.version[$version] :>"><: $commit.build.version[$version] :></span>
:}
</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 { :>
built in <: $commit.time_elapsed :>
<: } else { :>
running now
<: } :>
<br />
</div>
</div>
<div class="display_test_result" style="display: none" id="result-<: $commit.id :>">
</div>
:}
</div>
:}
</div>
</div>
|