Files @ b2575bdb847c
Branch filter:

Location: kallithea/rhodecode/templates/email_templates/pull_request.html

Mads Kiilerich
diffs: drop diffs.differ

This function did not really add any value, it was yet another layer that was
hiding the bug that we use ref[1] without ref[0], and it had this strange
undefined behaviour for diffing across repos.

Inlining the call to .get_diff do not make the code more complex but makes it
more obvious what is going on so it can be cleaned up later.
## -*- coding: utf-8 -*-
<%inherit file="main.html"/>

${_('User %s opened pull request for repository %s and wants you to review changes.') % (('<b>%s</b>' % pr_user_created),pr_repo_url) |n}
<div>${_('View this pull request here')}: ${pr_url}</div>
<div>${_('title')}: ${pr_title}</div>
<div>${_('description')}:</div>
<p>
${body}
</p>

<div>${_('revisions for reviewing')}</div>
<p style="white-space: pre-wrap;">
%for r,r_msg in pr_revisions:
<b>${h.short_id(r)}</b>:
${h.shorter(r_msg, 256)}
%endfor
</p>