${ticket_body_hdr}
--------------------------------------------------------------------------
# set sel = ('Reporter', 'Owner', 'Type', 'Status', 'Priority', 'Milestone',
'Component', 'Severity', 'Resolution', 'Keywords')
# for a in ticket_props.replace('|', '\n').splitlines()[1:-1]|map('trim'):
# set a = a.split(':', 1)|map('trim')|list
# if len(a) > 1 and a[0] in sel:
${'%-*s %s'|format(12, a[0] + ':', a[1])}
# endif
# endfor
--------------------------------------------------------------------------
# if ticket.new:
${ticket.description}
# else:
# if changes_body:
${_('Changes (by %(author)s):', author=change.author)}
${changes_body}
# endif
# if changes_descr:
# if not changes_body and not change.comment and change.author:
${_('Description changed by %(author)s:', author=change.author)}
# endif
${changes_descr}
--
# endif
# if change.comment:
${_('Comment:') if changes_body else
_('Comment (by %(author)s):', author=change.author)}
${change.comment}
# endif
# endif
${'-- '}
${_('Ticket URL: <%(link)s>', link=ticket.link)}
${project.name} <${project.url or abs_href()}>
${project.descr}