| 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 <tr> | 213 <tr> |
| 214 <td class="left">{{.Key}}</td> | 214 <td class="left">{{.Key}}</td> |
| 215 <td> | 215 <td> |
| 216 {{ if (eq .Key "requestedAt") }} | 216 {{ if (eq .Key "requestedAt") }} |
| 217 {{ .Value | parseRFC3339 | localTime "" }} | 217 {{ .Value | parseRFC3339 | localTime "" }} |
| 218 {{ else if (eq .Key "blamelist") }} | 218 {{ else if (eq .Key "blamelist") }} |
| 219 {{ .Value | obfuscateEmail }} | 219 {{ .Value | obfuscateEmail }} |
| 220 {{ else if (startswith .Value "https://") }} | 220 {{ else if (startswith .Value "https://") }} |
| 221 <a href="{{.Value}}">{{.Value}}</a> | 221 <a href="{{.Value}}">{{.Value}}</a> |
| 222 {{ else }} | 222 {{ else }} |
| 223 {{.Value}} | 223 {{ .Value | formatJson }} |
| 224 {{ end }} | 224 {{ end }} |
| 225 </td> | 225 </td> |
| 226 <td>{{$name}}</td> | 226 <td>{{$name}}</td> |
| 227 </tr> | 227 </tr> |
| 228 {{ end }} | 228 {{ end }} |
| 229 {{ end }} | 229 {{ end }} |
| 230 </table> | 230 </table> |
| 231 | 231 |
| 232 {{ if .Build.Blame }} | 232 {{ if .Build.Blame }} |
| 233 <h2>Blamelist:</h2> | 233 <h2>Blamelist:</h2> |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 } | 292 } |
| 293 }; | 293 }; |
| 294 | 294 |
| 295 check($("#showHidden").is(":checked")); | 295 check($("#showHidden").is(":checked")); |
| 296 $("#showHidden").click(function(e) { | 296 $("#showHidden").click(function(e) { |
| 297 check($(this).is(":checked")); | 297 check($(this).is(":checked")); |
| 298 }); | 298 }); |
| 299 }); | 299 }); |
| 300 </script> | 300 </script> |
| 301 {{end}} | 301 {{end}} |
| OLD | NEW |