view templates/atom/changelogentry.tmpl @ 8235:89bc3946c8f3

hgweb: use "nonempty" filter in templates for the changelog message At least subversion allows empty commit logs which, after conversion, show up as empty fields in hgweb and don't allow selecting the changeset. Using "nonempty" as filter, "(none)" is used to get clickable links for empty commit messages.
author Rocco Rutte <pdmef@gmx.net>
date Mon, 20 Apr 2009 12:10:04 +0200
parents d5662e939893
children 5ccca71775e1
line wrap: on
line source

 <entry>
  <title>#desc|strip|firstline|strip|escape|nonempty#</title>
  <id>{urlbase}{url}#changeset-{node}</id>
  <link href="{urlbase}{url}rev/{node}"/>
  <author>
   <name>#author|person|escape#</name>
   <email>#author|email|obfuscate#</email>
  </author>
  <updated>#date|rfc3339date#</updated>
  <published>#date|rfc3339date#</published>
  <content type="xhtml">
   <div xmlns="http://www.w3.org/1999/xhtml">
    <pre xml:space="preserve">#desc|escape|nonempty#</pre>
   </div>
  </content>
 </entry>