Files @ ae81bcb8a93d
Branch filter:

Location: kallithea/kallithea/templates/email_templates/pull_request.txt

Thomas De Schampheleire
HTML email templates: make pullrequest title a hyperlink

This commit makes the entirety of PR nice id _and_ PR title clickable,
rather than only the PR nice id.
<%block name="header">\
<% title = _('Mention on Pull Request %s "%s" by %s') % (pr_nice_id, pr_title, pr_user_created) if is_mention else _('Added as Reviewer of Pull Request %s "%s" by %s') % (pr_nice_id, pr_title, pr_user_created) %>\
<%include file="header.txt" args="title=title,link=pr_url"/>\
</%block>\

${_('Pull request from')|n,unicode} \
${pr_source_repo|n,unicode} \
${_('at')|n,unicode} \
${pr_source_branch|n,unicode} \
${_('to')|n,unicode} \
${pr_target_repo|n,unicode} \
${_('at')|n,unicode} \
${pr_target_branch|n,unicode}:
${pr_nice_id|n,unicode} \
"${pr_title|n,unicode}" \
${_('by')|n,unicode} \
${pr_owner.full_name_and_username|n,unicode}.


${_('Description')|n,unicode}:

${body|n,unicode}


${_('Changesets')|n,unicode}:

%for revision, desc in pr_revisions:
${h.shorter(desc, 80, firstline=True)|n,unicode}
%endfor

<%include file="button.txt" args="url=pr_url,title='View Pull Request'"/>\