| 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 <h1>Builder {{.Builder.Name}}</h1> |
| 7 |
| 6 {{ if .Builder.CurrentBuilds }} | 8 {{ if .Builder.CurrentBuilds }} |
| 7 <h2>Current Builds ({{len .Builder.CurrentBuilds}}):</h2> | 9 <h2>Current Builds ({{len .Builder.CurrentBuilds}}):</h2> |
| 8 <ul> | 10 <ul> |
| 9 {{ range .Builder.CurrentBuilds }} | 11 {{ range .Builder.CurrentBuilds }} |
| 10 <li>{{ .Link | linkify }} | 12 <li>{{ .Link | linkify }} |
| 11 [Running for: {{ .ExecutionTime.Duration | humanDuration }}] | 13 [Running for: {{ .ExecutionTime.Duration | humanDuration }}] |
| 12 {{ range .Text }} {{ . }}{{ end }} | 14 {{ range .Text }} {{ . }}{{ end }} |
| 13 </li> | 15 </li> |
| 14 {{ end }} | 16 {{ end }} |
| 15 </ul> | 17 </ul> |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 </tr> | 93 </tr> |
| 92 {{ end }} | 94 {{ end }} |
| 93 </table> | 95 </table> |
| 94 {{ else }} | 96 {{ else }} |
| 95 <h2>No Recent Builds</h2> | 97 <h2>No Recent Builds</h2> |
| 96 {{ end }} | 98 {{ end }} |
| 97 | 99 |
| 98 </div> | 100 </div> |
| 99 | 101 |
| 100 {{end}} | 102 {{end}} |
| OLD | NEW |