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

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

Issue 2987953002: Milo: Show accurate pending build numbers for builder view. (Closed)
Patch Set: 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/buildsource/buildbucket/expectations/master.tryserver.infra/InfraPresubmit.Swarming.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/frontend/appengine/templates/pages/builder.html
diff --git a/milo/frontend/appengine/templates/pages/builder.html b/milo/frontend/appengine/templates/pages/builder.html
index a89f014ce39048a1ed94397a78b079d72934af71..9453fabaeaba372ff189a37fd75b645a0a77d191 100644
--- a/milo/frontend/appengine/templates/pages/builder.html
+++ b/milo/frontend/appengine/templates/pages/builder.html
@@ -96,7 +96,10 @@
<div class="column">
{{ if .Builder.PendingBuilds -}}
- <h2>Pending Build Requests ({{len .Builder.PendingBuilds}}):</h2>
+ <h2>Pending Build Requests (
+ {{- if gt .Builder.PendingBuildNum (len .Builder.PendingBuilds) -}}
+ {{ .Builder.PendingBuildNum }} showing
+ {{ end -}}{{- len .Builder.PendingBuilds -}}):</h2>
<ul>
{{- range .Builder.PendingBuilds -}}
<li>
« no previous file with comments | « milo/buildsource/buildbucket/expectations/master.tryserver.infra/InfraPresubmit.Swarming.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698