Mercurial > hg
view mercurial/templates/paper/index.tmpl @ 25617:63be46407a50
hgweb: link to revision by node hash in paper & coal
Unlike other styles, paper and coal had only one link to current revision: in
the sidebar. Since those links now use symbolic revisions after 3bb6f5f478a7,
it's nice to have a link that allows going from /rev/tip to /rev/<tip hash>,
for instance. Let's make the node hash in the page header that new link.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 18 Jun 2015 17:06:18 +0800 |
parents | fdf7794be41d |
children |
line wrap: on
line source
{header} <title>Mercurial repositories index</title> </head> <body> <div class="container"> <div class="menu"> <a href="{logourl}"> <img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial" /></a> </div> <div class="main"> <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <table class="bigtable"> <thead> <tr> <th><a href="?sort={sort_name}">Name</a></th> <th><a href="?sort={sort_description}">Description</a></th> <th><a href="?sort={sort_contact}">Contact</a></th> <th><a href="?sort={sort_lastchange}">Last modified</a></th> <th> </th> <th> </th> </tr> </thead> <tbody class="stripes2"> {entries%indexentry} </tbody> </table> </div> </div> {footer}