Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Side by Side Diff: milo/appengine/frontend/templates/buildbot/pages/build.html

Issue 2718373004: Milo: Print raw json for buildbot build properties (Closed)
Patch Set: train Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 <tr> 186 <tr>
187 <td class="left">{{.Key}}</td> 187 <td class="left">{{.Key}}</td>
188 <td> 188 <td>
189 {{ if (eq .Key "requestedAt") }} 189 {{ if (eq .Key "requestedAt") }}
190 {{ .Value | parseRFC3339 | localTime "" }} 190 {{ .Value | parseRFC3339 | localTime "" }}
191 {{ else if (eq .Key "blamelist") }} 191 {{ else if (eq .Key "blamelist") }}
192 {{ .Value | obfuscateEmail }} 192 {{ .Value | obfuscateEmail }}
193 {{ else if (startswith .Value "https://") }} 193 {{ else if (startswith .Value "https://") }}
194 <a href="{{.Value}}">{{.Value}}</a> 194 <a href="{{.Value}}">{{.Value}}</a>
195 {{ else }} 195 {{ else }}
196 {{.Value}} 196 {{ .Value | formatJson }}
197 {{ end }} 197 {{ end }}
198 </td> 198 </td>
199 <td>{{$name}}</td> 199 <td>{{$name}}</td>
200 </tr> 200 </tr>
201 {{ end }} 201 {{ end }}
202 {{ end }} 202 {{ end }}
203 </table> 203 </table>
204 204
205 {{ if .Build.Blame }} 205 {{ if .Build.Blame }}
206 <h2>Blamelist:</h2> 206 <h2>Blamelist:</h2>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 } 265 }
266 }; 266 };
267 267
268 check($("#showHidden").is(":checked")); 268 check($("#showHidden").is(":checked"));
269 $("#showHidden").click(function(e) { 269 $("#showHidden").click(function(e) {
270 check($(this).is(":checked")); 270 check($(this).is(":checked"));
271 }); 271 });
272 }); 272 });
273 </script> 273 </script>
274 {{end}} 274 {{end}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698