Files @ f8daaaf1b1e2
Branch filter:

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

Mads Kiilerich
diff_block: fix link to file revisions

Pull requests would link to file revisions in the wrong repo. That was
obviously only visible when merging between different repos - but then it would
link to a non-existing revision.

diff_block is apparently used pull-request-style with the 'b' revision of the
diff shown first. It thus also has to point at the 'other' repo which is where
the other revision can be found.
## -*- 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>