comparison tests/test-hgweb.t @ 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 3bb6f5f478a7
children 1c2a8db33b8f
comparison
equal deleted inserted replaced
25616:e0073dcec588 25617:63be46407a50
260 </ul> 260 </ul>
261 </div> 261 </div>
262 262
263 <div class="main"> 263 <div class="main">
264 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> 264 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
265 <h3>directory / @ 0:2ef0ac749a14 <span class="tag">tip</span> </h3> 265 <h3>
266 directory / @ 0:<a href="/rev/2ef0ac749a14">2ef0ac749a14</a>
267 <span class="tag">tip</span>
268 </h3>
266 269
267 <form class="search" action="/log"> 270 <form class="search" action="/log">
268 271
269 <p><input name="rev" id="search1" type="text" size="30" /></p> 272 <p><input name="rev" id="search1" type="text" size="30" /></p>
270 <div id="hint">Find changesets by keywords (author, files, the commit message), revision 273 <div id="hint">Find changesets by keywords (author, files, the commit message), revision