| OLD | NEW |
| 1 {{define "title"}} | 1 {{define "title"}} |
| 2 {{ with .Build.Summary -}} | 2 {{ with .Build.Summary -}} |
| 3 {{ if eq .Status.String "InfraFailure" }} | 3 {{ if eq .Status.String "InfraFailure" }} |
| 4 Exception | 4 Exception |
| 5 {{ else if eq .Status.String "Failure" }} | 5 {{ else if eq .Status.String "Failure" }} |
| 6 Failed | 6 Failed |
| 7 {{ else if eq .Status.String "NotRun" }} | 7 {{ else if eq .Status.String "NotRun" }} |
| 8 Pending | 8 Pending |
| 9 {{ else }} | 9 {{ else }} |
| 10 {{ .Status.String }} | 10 {{ .Status.String }} |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 <h2>Build Properties:</h2> | 209 <h2>Build Properties:</h2> |
| 210 | 210 |
| 211 <table class="info" width="100%"> | 211 <table class="info" width="100%"> |
| 212 <tr><th>Name</th><th>Value</th><th>Source</th></tr> | 212 <tr><th>Name</th><th>Value</th><th>Source</th></tr> |
| 213 | 213 |
| 214 {{ range .Build.PropertyGroup }} | 214 {{ range .Build.PropertyGroup }} |
| 215 {{ $name := .GroupName }} | 215 {{ $name := .GroupName }} |
| 216 {{ range .Property }} | 216 {{ range .Property }} |
| 217 <tr> | 217 <tr> |
| 218 <td class="left">{{.Key}}</td> | 218 <td class="left">{{.Key}}</td> |
| 219 <td> | 219 <td>{{.Value}}</td> |
| 220 {{ if (eq .Key "requestedAt") }} | |
| 221 {{ .Value | parseRFC3339 | localTime "" }} | |
| 222 {{ else if (eq .Key "blamelist") }} | |
| 223 {{ .Value | obfuscateEmail }} | |
| 224 {{ else if (startswith .Value "https://") }} | |
| 225 <a href="{{.Value}}">{{.Value}}</a> | |
| 226 {{ else }} | |
| 227 {{.Value}} | |
| 228 {{ end }} | |
| 229 </td> | |
| 230 <td>{{$name}}</td> | 220 <td>{{$name}}</td> |
| 231 </tr> | 221 </tr> |
| 232 {{ end }} | 222 {{ end }} |
| 233 {{ end }} | 223 {{ end }} |
| 234 </table> | 224 </table> |
| 235 | 225 |
| 236 {{ if .Build.Blame }} | 226 {{ if .Build.Blame }} |
| 237 <h2>Blamelist:</h2> | 227 <h2>Blamelist:</h2> |
| 238 <ol> | 228 <ol> |
| 239 {{ range .Build.Blame }} | 229 {{ range .Build.Blame }} |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 } | 286 } |
| 297 }; | 287 }; |
| 298 | 288 |
| 299 check($("#showHidden").is(":checked")); | 289 check($("#showHidden").is(":checked")); |
| 300 $("#showHidden").click(function(e) { | 290 $("#showHidden").click(function(e) { |
| 301 check($(this).is(":checked")); | 291 check($(this).is(":checked")); |
| 302 }); | 292 }); |
| 303 }); | 293 }); |
| 304 </script> | 294 </script> |
| 305 {{end}} | 295 {{end}} |
| OLD | NEW |