1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:54:42 -07:00

dashboard: fix pagination on perf page

Currently the 'latest' button on perf page leads to build page.

LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/159990044
This commit is contained in:
Dmitriy Vyukov 2014-10-17 12:17:35 +04:00
parent ddb83b4815
commit 165ed12db1

View File

@ -76,7 +76,7 @@
<nav>
<a {{if .HasPrev}}href="?page={{.Prev}}"{{else}}class="inactive"{{end}}>newer</a>
<a {{if .Next}}href="?page={{.Next}}"{{else}}class="inactive"{{end}}>older</a>
<a {{if .HasPrev}}href="."{{else}}class="inactive"{{end}}>latest</a>
<a {{if .HasPrev}}href="?"{{else}}class="inactive"{{end}}>latest</a>
</nav>
</div>
{{end}}