]> Cypherpunks repositories - gostls13.git/commitdiff
godashboard: change behaviour of top button
authorAndrew Gerrand <adg@golang.org>
Tue, 25 May 2010 21:22:12 +0000 (14:22 -0700)
committerAndrew Gerrand <adg@golang.org>
Tue, 25 May 2010 21:22:12 +0000 (14:22 -0700)
R=gri
CC=golang-dev
https://golang.org/cl/1253046

misc/dashboard/godashboard/main.html

index 6de8e93158a8b4353a3d7ddf5e9ef86e9181eddd..dba7951b85ab99ef2fd31d412688023f412f6e37 100644 (file)
@@ -56,7 +56,7 @@
     <div class="paginate">
        <a{% if prev %} href="?n={{num}}&p={{prev}}"{% else %} class="inactive"{% endif %}>prev</a>
        <a{% if next %} href="?n={{num}}&p={{next}}"{% else %} class="inactive"{% endif %}>next</a>
-       <a href="#top">top</a>
+       <a{% if prev %} href="?n={{num}}&p=1"{% else %} class="inactive"{% endif %}>top</a>
     </div>
   </body>
 </html>