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

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

Issue 2823413002: Milo buildbot: Add in the rest of the blame/commits information. (Closed)
Patch Set: Review Created 3 years, 8 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/static/buildbot/css/default.css ('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/pages/build.html
diff --git a/milo/appengine/frontend/templates/pages/build.html b/milo/appengine/frontend/templates/pages/build.html
index 50220185e3e5158f3ece88dc9e9616272fe0c876..39d1db164ac27dd85876285025b4fa5bed607ea7 100644
--- a/milo/appengine/frontend/templates/pages/build.html
+++ b/milo/appengine/frontend/templates/pages/build.html
@@ -94,11 +94,11 @@
{{ end }}
{{ if .Commit.RequestRevision }}
- <tr><td class="left">Revision</td><td>{{ .Commit.RequestRevision }}</td></tr>
+ <tr><td class="left">Revision</td><td>{{ .Commit.RequestRevision | linkify }}</td></tr>
{{ end }}
{{ if .Commit.Revision }}
- <tr><td class="left">Got Revision</td><td>{{ .Commit.Revision }}</td></tr>
+ <tr><td class="left">Got Revision</td><td>{{ .Commit.Revision | linkify }}</td></tr>
{{ end }}
{{ if .Commit.Changelist }}
@@ -261,7 +261,48 @@
{{ range .Build.Blame }}
<li>
<h3>{{.Title}}</h3>
- <!--- TODO(hinoka): Layout the rest of this -->
+ <table class="info">
+ <tbody>
+ <tr>
+ <td class="left">Changed by</td>
+ <td class="value">
+ {{ if .AuthorName }}{{ .AuthorName }} - {{ end }}
+ {{ .AuthorEmail | obfuscateEmail }}
+ </td>
+ </tr>
+ <tr>
+ <td class="left">Changed at</td>
+ <td class="value">{{ .CommitTime | localTime "N/A" }}</td>
+ </tr>
+ <tr>
+ <td class="left">Repository</td>
+ <td class="value">{{ .Repo }}</td>
+ </tr>
+ <tr>
+ <td class="left">Branch</td>
+ <td class="value">{{ .Branch }}</td>
+ </tr>
+ <tr>
+ <td class="left">Revision</td>
+ <td class="value">{{ .Revision | linkify }}</td>
+ </tr>
+ </tbody>
+ </table>
+
+ {{ if .Description }}
+ <h3>Comments</h3>
+ <pre class="comments">{{ .Description }}</pre>
+ {{ end }}
+
+ {{ if .File }}
+ <h3 class="files">Changed files</h3>
+ <ul class="alternating">
+ {{ range .File }}
+ <li class="file">{{ . }}</li>
+ {{ end }}
+ </ul>
+ {{ end }}
+
</li>
{{ end }}
</ol>
« no previous file with comments | « milo/appengine/frontend/static/buildbot/css/default.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698