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

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

Issue 2321243002: Milo: Add current builds to buildbot builder view (Closed)
Patch Set: Rebase Created 4 years, 2 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/appengine/frontend/expectations/buildbot-buildbot.TestableBuilder-Basic_Test_with_builds.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/frontend/templates/buildbot/pages/builder.html
diff --git a/milo/appengine/frontend/templates/buildbot/pages/builder.html b/milo/appengine/frontend/templates/buildbot/pages/builder.html
index f2b6a7dc10ea042f113becb7e9221bbb38179457..9e15a6e7676581593ea437b876c5374eaeae3899 100644
--- a/milo/appengine/frontend/templates/buildbot/pages/builder.html
+++ b/milo/appengine/frontend/templates/buildbot/pages/builder.html
@@ -10,6 +10,22 @@
<ul>
{{ range .Builder.CurrentBuilds }}
<li>{{ .Link | linkify }}
+ {{ $nb := len .Blame }}
+ {{ if lt $nb 4 }}
+ {{ range $i, $c := .Blame }}
+ {{ if gt $i 0 }},{{ end }}
+ {{ if .Changelist }}
+ {{ .Changelist | linkify }}
+ {{ if .AuthorEmail }}
+ by {{ .AuthorEmail }}
+ {{ end }}
+ {{ else }}
+ (<a href="{{ .CommitURL }}">{{ .AuthorEmail }}</a>)
+ {{ end }}
+ {{ end }}
+ {{ else }}
+ ({{ $nb }} changes)
+ {{ end }}
[Running for: {{ .ExecutionTime.Duration | humanDuration }}]
{{ range .Text }} {{ . }}{{ end }}
</li>
« no previous file with comments | « milo/appengine/frontend/expectations/buildbot-buildbot.TestableBuilder-Basic_Test_with_builds.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698