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

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

Issue 2102903002: Milo: Extract the rietveld information from buildbot. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: comment 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 267fb16a7fdf304f6fe774cc2451be7a87f9a309..02c1566eb723b284a200e0ee13988a2938f9e415 100644
--- a/appengine/cmd/milo/frontend/templates/buildbot/pages/build.html
+++ b/appengine/cmd/milo/frontend/templates/buildbot/pages/build.html
@@ -51,8 +51,8 @@
<tr><td class="left">Got Revision</td><td>{{ .Commit.Revision }}</td></tr>
{{ end }}
- {{ if .Commit.ChangelistURL }}
- <tr><td class="left">Patch</td><td><a href="{{.Commit.ChangelistURL}}">YES</a></td></tr>
+ {{ if .Commit.Changelist }}
+ <tr><td class="left">Patch</td><td>{{ .Commit.Changelist | linkify }}</td></tr>
{{ end }}
</table>

Powered by Google App Engine
This is Rietveld 408576698