diff mercurial/templates/paper/shortlogentry.tmpl @ 13176:895f54a79c6e

templater: use the parser.py parser to extend the templater syntax
author Matt Mackall <mpm@selenic.com>
date Mon, 20 Dec 2010 12:09:00 -0600
parents f91e5630ce7e
children 270f57d35525
line wrap: on
line diff
--- a/mercurial/templates/paper/shortlogentry.tmpl	Mon Dec 20 12:09:00 2010 -0600
+++ b/mercurial/templates/paper/shortlogentry.tmpl	Mon Dec 20 12:09:00 2010 -0600
@@ -1,5 +1,5 @@
  <tr class="parity{parity}">
-  <td class="age">{date|age}</td>
+  <td class="age">{age(date)}</td>
   <td class="author">{author|person}</td>
-  <td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}</td>
+  <td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags % '<span class="tag">{name|escape}</span> '}</td>
  </tr>