blob: 96f3fe453485320513720075f1dfd8ab0a516e75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<h1 class="text-center"><%=builds.first.package[:identifier]%></h1>
<table id="sortable" class="table table-bordered table-condensed">
<thead>
<tr>
<th class="width-50">Build Date</th>
<th class="width-50">Build Result</th>
</tr>
</thead>
<%builds.each do |build|%>
<tr>
<td class="width-50">
<%=Time.at(build[:timestamp].to_i).strftime('%Y-%m-%d')%>
</td>
<td class="width-50 <%=build[:result]%>">
<a href="/build_status/<%=build.package[:sha1]%>/<%=build[:timestamp]%>"><%=build[:result].camelcase%></a>
</td>
</tr>
<%end%>
</table>
|