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

Unified Diff: milo/frontend/appengine/templates/pages/console.html

Issue 2978293002: [milo] Add an (uncached) method to get console rows. (Closed)
Patch Set: make manifestkey its own type Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « milo/common/model/build_summary.go ('k') | milo/frontend/middleware.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/frontend/appengine/templates/pages/console.html
diff --git a/milo/frontend/appengine/templates/pages/console.html b/milo/frontend/appengine/templates/pages/console.html
index 3d64e0f42360deb38cbe9624390d8e3f7a954ee1..39a579ba6e71034e09430d002367ec4634b625e8 100644
--- a/milo/frontend/appengine/templates/pages/console.html
+++ b/milo/frontend/appengine/templates/pages/console.html
@@ -9,25 +9,27 @@ th {
{{end}}
{{define "body"}}
-<h1>{{.Console.Name}}</h1>
+{{ $console := .Console }}
+
+<h1>{{ $console.Name }}</h1>
<table>
<thead>
- {{ .Console.BuilderRef | consoleHeader }}
+ {{ $console.Header }}
</thead>
-{{ range .Console.Commit }}
+{{ range $console.Commit }}
<tr>
<td>
- {{ .Commit.Revision }}
+ {{ .Revision }}
</td>
{{ range .Build }}
- <td {{ if . }}class="status-{{.Status.String}}"{{ end }}>
{{ if . }}
- {{ if .Link }}
- <a href="{{.Link.URL}}">x</a>
- {{ end }}
+ <td class="status-{{.Summary.Status.String}}">
+ {{ . | $console.BuilderLink | linkify }}
+ </td>
+ {{ else }}
+ <td></td>
{{ end }}
- </td>
{{ end }}
</tr>
{{ end }}
« no previous file with comments | « milo/common/model/build_summary.go ('k') | milo/frontend/middleware.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698