Commit 7c94dc04 authored by Andrew Gerrand's avatar Andrew Gerrand

dashboard: display correct package build state

Includes some boring whitespace tweaks.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5492067
parent a0bd46e7
......@@ -54,6 +54,9 @@
.paginate a.inactive {
color: #999;
}
.fail {
color: #C00;
}
</style>
</head>
<body>
......@@ -129,7 +132,11 @@
<div>
{{$h := $state.Commit.Hash}}
<a href="{{repoURL $h $state.Commit.PackagePath}}">{{shortHash $h}}</a>
<a href="/log/{{.LogHash}}">failed</a>
{{if .OK}}
ok
{{else}}
<a href="/log/{{.LogHash}}" class="fail">failed</a>
{{end}}
on {{.Builder}}/<a href="{{repoURL .GoHash ""}}">{{shortHash .GoHash}}</a>
</a></div>
{{end}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment