Files @ 10d0aec7e68b
Branch filter:

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

Kateryna Musina
helpers: remove <code> from render_w_mentions

b97ba9b23796 introduced use of <code>, but that is semantically incorrect.

The mail templates do not have css and we thus put explicit styling around its
use.
## -*- coding: utf-8 -*-
<%inherit file="main.html"/>

%if is_mention:
<p>${_('%s mentioned you on %s pull request "%s"') % (pr_user_created, repo_name, pr_title)}</p>
%else:
<p>${_('%s requested your review of %s pull request "%s"') % (pr_user_created, repo_name, pr_title)}</p>
%endif

<p>${_('URL')}: <a href="${pr_url}">${pr_url}</a></p>

<p>${_('Description')}:</p>
<p style="white-space: pre-wrap; font-family: monospace">${body}</p>

<p>${_('Changesets')}:</p>
<p style="white-space: pre-wrap">
%for r,r_msg in pr_revisions:
<i><a href="${h.canonical_url('changeset_home', repo_name=org_repo_name, revision=r)}">${h.short_id(r)}</a></i>:
${h.shorter(r_msg, 256)}

%endfor
</p>