##// END OF EJS Templates
templatefilters: add "nonempty" template filter...
templatefilters: add "nonempty" template filter It ensures that at least "(none)" is returned in case the argument passed is None or ''. This is primarily useful to render empty changelog messages for hgweb but may be useful for others, too.

File last commit:

r7749:f32af51a default
r8234:27dbe534 default
Show More
error.tmpl
17 lines | 461 B | application/x-cheetah | CheetahLexer
{header}
<!-- Error -->
<id>{urlbase}{url}</id>
<link rel="self" href="{urlbase}{url}atom-log"/>
<link rel="alternate" href="{urlbase}{url}"/>
<title>Error</title>
<updated>1970-01-01T00:00:00+00:00</updated>
<entry>
<title>Error</title>
<id>http://www.selenic.com/mercurial/#error</id>
<author>
<name>mercurial</name>
</author>
<updated>1970-01-01T00:00:00+00:00</updated>
<content type="text">{error|escape}</content>
</entry>
</feed>