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

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

Issue 2718373004: Milo: Print raw json for buildbot build properties (Closed)
Patch Set: Rebase 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698