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

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

Issue 2093503002: milo: source and bot links (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: milo: source and bot links Created 4 years, 6 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
Index: appengine/cmd/milo/frontend/templates/buildbot/pages/build.html
diff --git a/appengine/cmd/milo/frontend/templates/buildbot/pages/build.html b/appengine/cmd/milo/frontend/templates/buildbot/pages/build.html
index 2491385f4f50e4a33aef92ff141f5d856227743b..5fa521a3d094d0a22925dfe0370e3091016e8759 100644
--- a/appengine/cmd/milo/frontend/templates/buildbot/pages/build.html
+++ b/appengine/cmd/milo/frontend/templates/buildbot/pages/build.html
@@ -58,10 +58,22 @@
{{ end }} <!-- with -->
{{ end }} <!-- if -->
- {{ if .Build.Summary.Bot }}
+ {{ if or .Build.Summary.Bot .Build.Summary.Source }}
<h2>Execution:</h2>
- <a href="{{ .Build.Summary.Bot.URL }}">{{ .Build.Summary.Bot.Label }}</a>
- {{ end }}
+ <ul>
+ {{ if .Build.Summary.Source }}
+ <li>
+ <a href="{{ .Build.Summary.Source.URL }}">{{ .Build.Summary.Source.Label }}</a>
Ryan Tseng 2016/06/22 19:14:45 <li> Source: <a>.....
nodir 2016/06/22 20:40:08 Done.
+ </li>
+ {{ end }}
+
+ {{ if .Build.Summary.Bot }}
+ <li>
+ <a href="{{ .Build.Summary.Bot.URL }}">{{ .Build.Summary.Bot.Label }}</a>
Ryan Tseng 2016/06/22 19:14:45 <li>Bot: <a.....
nodir 2016/06/22 20:40:08 Done.
+ </li>
+ {{ end }}
+ </ul>
+ {{ end }} <!-- if -->
{{ if .Build.SourceStamp }}
{{ if .Build.SourceStamp.Source }}

Powered by Google App Engine
This is Rietveld 408576698