Mercurial > kallithea
view kallithea/templates/email/changeset_comment.txt @ 8856:8014ac73587d
mail: drop unicode filter from templates
Unicode is the default in py3, and we no longer pass any non-string arguments
that need stringification before rendering.
This is backing out a part of 4fbab9d5be4d.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 16 Feb 2021 21:38:09 +0100 |
parents | a36a8804e7be |
children |
line wrap: on
line source
<%block name="header">\ <% title = _('Mention in Comment on Changeset "%s"') % webutils.shorter(message, 200, firstline=True) if is_mention else _('Comment on Changeset "%s"') % webutils.shorter(message, 200, firstline=True) %>\ <%include file="header.txt" args="title=title,link=cs_comment_url"/>\ </%block>\ <%include file="comment.txt" args="text=body,author=cs_comment_user,status=status_change"/>\ ${_('Changeset on')|n} \ ${cs_target_repo|n} \ ${_('branch')|n} \ ${branch|n}: "${webutils.shorter(message, 60, firstline=True)|n}" \ ${_('by')|n} \ ${cs_author.full_name_and_username|n}. <% title = _('View Comment') %>\ <%include file="button.txt" args="url=cs_comment_url,title=title"/>\