Changeset - 6f71e6f81c9f
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 13 years ago 2013-01-29 22:41:05
marcin@python-works.com
Fix bold beeing not escaped in emails and make the email form more consistent
2 files changed with 4 insertions and 3 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/email_templates/pull_request.html
Show inline comments
 
@@ -2,9 +2,9 @@
 
<%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>
 
<div>${_('View this pull request here')}: ${pr_url}</div>
 
<p>
 
${body}
 
</p>
rhodecode/templates/email_templates/pull_request_comment.html
Show inline comments
 
## -*- coding: utf-8 -*-
 
<%inherit file="main.html"/>
 

	
 
${_('User %s commented on pull request #%s for repository %s') % ('<b>%s</b>' % pr_comment_user ,pr_id,pr_target_repo)}
 
${_('User %s commented on pull request #%s for repository %s') % ('<b>%s</b>' % pr_comment_user, pr_id, pr_target_repo) |n}
 
<div>${_('View this comment here')}: ${pr_comment_url}</div>
 

	
 
<p>
 
${body}
 
@@ -11,4 +12,4 @@ ${body}
 
%endif
 
</p>
 

	
 
${_('View this comment here')}: ${pr_comment_url}
 

	
0 comments (0 inline, 0 general)