Mercurial > hg
comparison tests/test-hgweb-empty.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 | 4b0fc75f9403 |
comparison
equal
deleted
inserted
replaced
25616:e0073dcec588 | 25617:63be46407a50 |
---|---|
420 </ul> | 420 </ul> |
421 </div> | 421 </div> |
422 | 422 |
423 <div class="main"> | 423 <div class="main"> |
424 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> | 424 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> |
425 <h3>directory / @ -1:000000000000 <span class="tag">tip</span> </h3> | 425 <h3> |
426 directory / @ -1:<a href="/rev/000000000000">000000000000</a> | |
427 <span class="tag">tip</span> | |
428 </h3> | |
426 | 429 |
427 <form class="search" action="/log"> | 430 <form class="search" action="/log"> |
428 | 431 |
429 <p><input name="rev" id="search1" type="text" size="30" /></p> | 432 <p><input name="rev" id="search1" type="text" size="30" /></p> |
430 <div id="hint">Find changesets by keywords (author, files, the commit message), revision | 433 <div id="hint">Find changesets by keywords (author, files, the commit message), revision |