Chromium Code Reviews| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 102 <a href="{{ .Build.Summary.Source.URL }}">{{ .Build.Summary.Source.Lab el }}</a> | 102 <a href="{{ .Build.Summary.Source.URL }}">{{ .Build.Summary.Source.Lab el }}</a> |
| 103 </li> | 103 </li> |
| 104 {{ end }} | 104 {{ end }} |
| 105 | 105 |
| 106 {{ if .Build.Summary.Bot }} | 106 {{ if .Build.Summary.Bot }} |
| 107 <li> | 107 <li> |
| 108 Bot: | 108 Bot: |
| 109 <a href="{{ .Build.Summary.Bot.URL }}">{{ .Build.Summary.Bot.Label }}< /a> | 109 <a href="{{ .Build.Summary.Bot.URL }}">{{ .Build.Summary.Bot.Label }}< /a> |
| 110 </li> | 110 </li> |
| 111 {{ end }} | 111 {{ end }} |
| 112 | |
| 113 {{ if .Build.Summary.Recipe}} | |
| 114 <li> | |
| 115 Recipe: {{ .Build.Summary.Recipe | linkify }} | |
| 116 </li> | |
| 117 {{ end }} | |
| 112 </ul> | 118 </ul> |
| 113 {{ end }} <!-- if --> | 119 {{ end }} <!-- if --> |
| 114 | 120 |
| 115 {{ if .Build.SourceStamp }} | 121 {{ if .Build.SourceStamp }} |
| 116 {{ if .Build.SourceStamp.Source }} | 122 {{ if .Build.SourceStamp.Source }} |
| 117 <h2>Reason:</h2> | 123 <h2>Reason:</h2> |
| 118 <p>{{ .Source }}</p> | 124 <p>{{ .Source }}</p> |
| 119 {{ end }} | 125 {{ end }} |
| 120 {{ end }} | 126 {{ end }} |
| 121 | 127 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 155 </ol> | 161 </ol> |
| 156 {{ end }} <!-- if .Build.Components --> | 162 {{ end }} <!-- if .Build.Components --> |
| 157 | 163 |
| 158 </div> | 164 </div> |
| 159 | 165 |
| 160 <div class="column"> | 166 <div class="column"> |
| 161 | 167 |
| 162 <h2>Build Properties:</h2> | 168 <h2>Build Properties:</h2> |
| 163 | 169 |
| 164 <table class="info" width="100%"> | 170 <table class="info" width="100%"> |
| 165 <tr><th>Name</th><th>Value</th><th>Source</th></tr> | 171 <tr><th>Name</th><th>Value</th><th>Source</th></tr> |
|
nodir
2017/02/07 21:56:29
we don't need Source anymore?
hinoka
2017/02/24 00:56:22
They still indicate the source step
| |
| 166 | 172 |
| 167 {{ range .Build.PropertyGroup }} | 173 {{ range .Build.PropertyGroup }} |
| 168 {{ $name := .GroupName }} | 174 {{ $name := .GroupName }} |
| 169 {{ range .Property }} | 175 {{ range .Property }} |
| 170 <tr> | 176 <tr> |
| 171 <td class="left">{{.Key}}</td> | 177 <td class="left">{{.Key}}</td> |
| 172 <td> | 178 <td> |
| 173 {{ if (eq .Key "requestedAt") }} | 179 {{ if (eq .Key "requestedAt") }} |
| 174 {{ .Value | parseRFC3339 | localTime "" }} | 180 {{ .Value | parseRFC3339 | localTime "" }} |
| 175 {{ else if (eq .Key "blamelist") }} | 181 {{ else if (eq .Key "blamelist") }} |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 249 } | 255 } |
| 250 }; | 256 }; |
| 251 | 257 |
| 252 check($("#showHidden").is(":checked")); | 258 check($("#showHidden").is(":checked")); |
| 253 $("#showHidden").click(function(e) { | 259 $("#showHidden").click(function(e) { |
| 254 check($(this).is(":checked")); | 260 check($(this).is(":checked")); |
| 255 }); | 261 }); |
| 256 }); | 262 }); |
| 257 </script> | 263 </script> |
| 258 {{end}} | 264 {{end}} |
| OLD | NEW |