comparison tests/test-hgweb-commands.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 e466c15597a3
comparison
equal deleted inserted replaced
25616:e0073dcec588 25617:63be46407a50
865 </div> 865 </div>
866 866
867 <div class="main"> 867 <div class="main">
868 868
869 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> 869 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
870 <h3>changeset 0:2ef0ac749a14 <span class="tag">1.0</span> <span class="tag">anotherthing</span> </h3> 870 <h3>
871 changeset 0:<a href="/rev/2ef0ac749a14">2ef0ac749a14</a>
872 <span class="tag">1.0</span> <span class="tag">anotherthing</span>
873 </h3>
871 874
872 <form class="search" action="/log"> 875 <form class="search" action="/log">
873 876
874 <p><input name="rev" id="search1" type="text" size="30" /></p> 877 <p><input name="rev" id="search1" type="text" size="30" /></p>
875 <div id="hint">Find changesets by keywords (author, files, the commit message), revision 878 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
1294 </ul> 1297 </ul>
1295 </div> 1298 </div>
1296 1299
1297 <div class="main"> 1300 <div class="main">
1298 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> 1301 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
1299 <h3>view foo @ 1:a4f92ed23982 </h3> 1302 <h3>
1303 view foo @ 1:<a href="/rev/a4f92ed23982">a4f92ed23982</a>
1304
1305 </h3>
1300 1306
1301 <form class="search" action="/log"> 1307 <form class="search" action="/log">
1302 1308
1303 <p><input name="rev" id="search1" type="text" size="30" /></p> 1309 <p><input name="rev" id="search1" type="text" size="30" /></p>
1304 <div id="hint">Find changesets by keywords (author, files, the commit message), revision 1310 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
1418 </ul> 1424 </ul>
1419 </div> 1425 </div>
1420 1426
1421 <div class="main"> 1427 <div class="main">
1422 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> 1428 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
1423 <h3>view foo @ 2:1d22e65f027e <span class="branchname">stable</span> </h3> 1429 <h3>
1430 view foo @ 2:<a href="/rev/1d22e65f027e">1d22e65f027e</a>
1431 <span class="branchname">stable</span>
1432 </h3>
1424 1433
1425 <form class="search" action="/log"> 1434 <form class="search" action="/log">
1426 1435
1427 <p><input name="rev" id="search1" type="text" size="30" /></p> 1436 <p><input name="rev" id="search1" type="text" size="30" /></p>
1428 <div id="hint">Find changesets by keywords (author, files, the commit message), revision 1437 <div id="hint">Find changesets by keywords (author, files, the commit message), revision