| OLD | NEW |
| 1 {{define "title"}}[[Insert title here]]{{end}} | 1 {{define "title"}}Builder {{.Builder.Name}}{{end}} |
| 2 | 2 |
| 3 | |
| 4 {{define "head"}}{{end}} | 3 {{define "head"}}{{end}} |
| 5 | 4 |
| 6 {{define "body"}} | 5 {{define "body"}} |
| 7 | 6 |
| 8 <div class="row"> | 7 <div class="row"> |
| 9 | 8 |
| 10 <div class="col-md-6"> | 9 <div class="col-md-6"> |
| 11 {{ if .Builder.CurrentBuilds }} | 10 {{ if .Builder.CurrentBuilds }} |
| 12 <h4>Current Builds</h4> | 11 <h4>Current Builds</h4> |
| 13 <ul> | 12 <ul> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 25 | 24 |
| 26 <div class="col-md-6"> | 25 <div class="col-md-6"> |
| 27 {{ if .Builder.CurrentBuilds }} | 26 {{ if .Builder.CurrentBuilds }} |
| 28 <h4>Pending Build Requests</h4> | 27 <h4>Pending Build Requests</h4> |
| 29 <ul> | 28 <ul> |
| 30 {{ range .Builder.PendingBuilds }} | 29 {{ range .Builder.PendingBuilds }} |
| 31 <li><small>({{ .PendingTime.Started | localTime "" }}, waiting {{ .Pendi
ngTime.Duration }})</small> | 30 <li><small>({{ .PendingTime.Started | localTime "" }}, waiting {{ .Pendi
ngTime.Duration }})</small> |
| 32 {{ $nb := len .Blame }} | 31 {{ $nb := len .Blame }} |
| 33 {{ if lt $nb 4 }} | 32 {{ if lt $nb 4 }} |
| 34 {{ range $i, $c := .Blame }} | 33 {{ range $i, $c := .Blame }} |
| 35 {{ .Revision }} | |
| 36 (<a href="{{ .CommitURL }}">{{ .AuthorEmail }}</a>) | 34 (<a href="{{ .CommitURL }}">{{ .AuthorEmail }}</a>) |
| 37 {{ if ne $i (sub $nb 1) }},{{ end }} | 35 {{ if ne $i (sub $nb 1) }},{{ end }} |
| 38 {{ end }} | 36 {{ end }} |
| 39 {{ else }} | 37 {{ else }} |
| 40 ({{ $nb }} changes) | 38 ({{ $nb }} changes) |
| 41 {{ end }} | 39 {{ end }} |
| 42 </li> | 40 </li> |
| 43 {{ end }} | 41 {{ end }} |
| 44 </ul> | 42 </ul> |
| 45 {{ else }} | 43 {{ else }} |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 <td>{{.Link | linkify}}</td> | 81 <td>{{.Link | linkify}}</td> |
| 84 <td class="left">{{ .Text }}</td> | 82 <td class="left">{{ .Text }}</td> |
| 85 </tr> | 83 </tr> |
| 86 {{ end }} | 84 {{ end }} |
| 87 {{ end }} | 85 {{ end }} |
| 88 </table> | 86 </table> |
| 89 </div> | 87 </div> |
| 90 | 88 |
| 91 </div> | 89 </div> |
| 92 {{ end }} | 90 {{ end }} |
| OLD | NEW |