##// 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
map
11 lines | 332 B | text/plain | TextLexer
Robert Bachmann
Added support for the Atom syndication format
r5269 default = 'changelog'
feedupdated = '<updated>#date|rfc3339date#</updated>'
Dirkjan Ochtman
hgweb: move HTTP content types out of header templates...
r5928 mimetype = 'application/atom+xml; charset={encoding}'
Robert Bachmann
Added support for the Atom syndication format
r5269 header = header.tmpl
changelog = changelog.tmpl
changelogentry = changelogentry.tmpl
filelog = filelog.tmpl
filelogentry = filelogentry.tmpl
tags = tags.tmpl
tagentry = tagentry.tmpl
Sune Foldager
hgweb: add atom error template
r7749 error = error.tmpl