view mercurial/templates/paper/filelogentry.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 c9f382c8233a
children f36dc643ffdc
line wrap: on
line source

 <tr>
  <td class="age">{date|rfc822date}</td>
  <td class="author">{author|person}</td>
  <td class="description">
   <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>
   {inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{bookmarks%changelogtag}{rename%filelogrename}
  </td>
 </tr>