| OLD | NEW |
| 1 {{define "title"}}Builder {{ .Builder.Name }}{{end}} | 1 {{define "title"}}Builder {{ .Builder.Name }}{{end}} |
| 2 | 2 |
| 3 {{define "head"}}{{end}} | 3 {{define "head"}}{{end}} |
| 4 | 4 |
| 5 {{define "body"}} | 5 {{define "body"}} |
| 6 {{ if .Builder.CurrentBuilds }} | 6 {{ if .Builder.CurrentBuilds }} |
| 7 <h2>Current Builds ({{len .Builder.CurrentBuilds}}):</h2> | 7 <h2>Current Builds ({{len .Builder.CurrentBuilds}}):</h2> |
| 8 <ul> | 8 <ul> |
| 9 {{ range .Builder.CurrentBuilds }} | 9 {{ range .Builder.CurrentBuilds }} |
| 10 <li>{{ .Link | linkify }} | 10 <li>{{ .Link | linkify }} |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 <th>Build #</th> | 51 <th>Build #</th> |
| 52 <th>Changes</th> | 52 <th>Changes</th> |
| 53 <th>Info</th> | 53 <th>Info</th> |
| 54 </tr> | 54 </tr> |
| 55 | 55 |
| 56 {{ range .Builder.FinishedBuilds }} | 56 {{ range .Builder.FinishedBuilds }} |
| 57 <tr> | 57 <tr> |
| 58 <td>{{ .ExecutionTime.Finished | localTime "" }}</td> | 58 <td>{{ .ExecutionTime.Finished | localTime "" }}</td> |
| 59 <td class="revision">{{ .Revision }}</td> | 59 <td class="revision">{{ .Revision }}</td> |
| 60 {{ if eq .Status.String "Success" }} | 60 {{ if eq .Status.String "Success" }} |
| 61 <td class="success">Success</td> | 61 <td class="status-Success">Success</td> |
| 62 {{ else if eq .Status.String "Failure" }} | 62 {{ else if eq .Status.String "Failure" }} |
| 63 <td class="failure">Failed</td> | 63 <td class="status-Failure">Failed</td> |
| 64 {{ else if eq .Status.String "InfraFailure" }} | 64 {{ else if eq .Status.String "InfraFailure" }} |
| 65 <td class="exception">Infra Failure</td> | 65 <td class="status-Exception">Infra Failure</td> |
| 66 {{ else }} | 66 {{ else }} |
| 67 <td> {{ .Status.String }} </td> | 67 <td> {{ .Status.String }} </td> |
| 68 {{ end }} | 68 {{ end }} |
| 69 <td>{{ .Link | linkify }}</td> | 69 <td>{{ .Link | linkify }}</td> |
| 70 <td> | 70 <td> |
| 71 {{ $nb := len .Blame }} | 71 {{ $nb := len .Blame }} |
| 72 {{ if lt $nb 4 }} | 72 {{ if lt $nb 4 }} |
| 73 {{ range $i, $c := .Blame }} | 73 {{ range $i, $c := .Blame }} |
| 74 {{ if gt $i 0 }},{{ end }} | 74 {{ if gt $i 0 }},{{ end }} |
| 75 {{ if .Changelist }} | 75 {{ if .Changelist }} |
| (...skipping 15 matching lines...) Expand all Loading... |
| 91 </tr> | 91 </tr> |
| 92 {{ end }} | 92 {{ end }} |
| 93 </table> | 93 </table> |
| 94 {{ else }} | 94 {{ else }} |
| 95 <h2>No Recent Builds</h2> | 95 <h2>No Recent Builds</h2> |
| 96 {{ end }} | 96 {{ end }} |
| 97 | 97 |
| 98 </div> | 98 </div> |
| 99 | 99 |
| 100 {{end}} | 100 {{end}} |
| OLD | NEW |