Chromium Code Reviews| 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 }} |