Changeset - d379e2c39bba
[Not reviewed]
kallithea/model/notification.py
Show inline comments
 
@@ -204,7 +204,7 @@ class EmailNotificationModel(object):
 
        return generated template for email based on given type
 
        """
 

	
 
        base = 'email_templates/' + self.email_types.get(type_, self.email_types[self.TYPE_DEFAULT]) + '.' + content_type
 
        base = 'email/' + self.email_types.get(type_, self.email_types[self.TYPE_DEFAULT]) + '.' + content_type
 
        email_template = self._tmpl_lookup.get_template(base)
 
        # translator and helpers inject
 
        _kwargs = {'_': _,
kallithea/templates/email/button.html
Show inline comments
 
file renamed from kallithea/templates/email_templates/button.html to kallithea/templates/email/button.html
kallithea/templates/email/button.txt
Show inline comments
 
file renamed from kallithea/templates/email_templates/button.txt to kallithea/templates/email/button.txt
kallithea/templates/email/changeset_comment.html
Show inline comments
 
file renamed from kallithea/templates/email_templates/changeset_comment.html to kallithea/templates/email/changeset_comment.html
kallithea/templates/email/changeset_comment.txt
Show inline comments
 
file renamed from kallithea/templates/email_templates/changeset_comment.txt to kallithea/templates/email/changeset_comment.txt
kallithea/templates/email/comment.html
Show inline comments
 
file renamed from kallithea/templates/email_templates/comment.html to kallithea/templates/email/comment.html
kallithea/templates/email/comment.txt
Show inline comments
 
file renamed from kallithea/templates/email_templates/comment.txt to kallithea/templates/email/comment.txt
kallithea/templates/email/default.html
Show inline comments
 
file renamed from kallithea/templates/email_templates/default.html to kallithea/templates/email/default.html
kallithea/templates/email/default.txt
Show inline comments
 
file renamed from kallithea/templates/email_templates/default.txt to kallithea/templates/email/default.txt
kallithea/templates/email/header.html
Show inline comments
 
file renamed from kallithea/templates/email_templates/header.html to kallithea/templates/email/header.html
kallithea/templates/email/header.txt
Show inline comments
 
file renamed from kallithea/templates/email_templates/header.txt to kallithea/templates/email/header.txt
kallithea/templates/email/main.html
Show inline comments
 
file renamed from kallithea/templates/email_templates/main.html to kallithea/templates/email/main.html
kallithea/templates/email/password_reset.html
Show inline comments
 
file renamed from kallithea/templates/email_templates/password_reset.html to kallithea/templates/email/password_reset.html
kallithea/templates/email/password_reset.txt
Show inline comments
 
file renamed from kallithea/templates/email_templates/password_reset.txt to kallithea/templates/email/password_reset.txt
kallithea/templates/email/pull_request.html
Show inline comments
 
file renamed from kallithea/templates/email_templates/pull_request.html to kallithea/templates/email/pull_request.html
kallithea/templates/email/pull_request.txt
Show inline comments
 
file renamed from kallithea/templates/email_templates/pull_request.txt to kallithea/templates/email/pull_request.txt
kallithea/templates/email/pull_request_comment.html
Show inline comments
 
file renamed from kallithea/templates/email_templates/pull_request_comment.html to kallithea/templates/email/pull_request_comment.html
kallithea/templates/email/pull_request_comment.txt
Show inline comments
 
file renamed from kallithea/templates/email_templates/pull_request_comment.txt to kallithea/templates/email/pull_request_comment.txt
kallithea/templates/email/registration.html
Show inline comments
 
file renamed from kallithea/templates/email_templates/registration.html to kallithea/templates/email/registration.html
kallithea/templates/email/registration.txt
Show inline comments
 
file renamed from kallithea/templates/email_templates/registration.txt to kallithea/templates/email/registration.txt
scripts/whitespacecleanup.sh
Show inline comments
 
@@ -2,7 +2,7 @@
 

	
 
# Enforce some consistency in whitespace - just to avoid spurious whitespaces changes
 

	
 
files=`hg mani | egrep -v '/fontello/|/email_templates/|(^LICENSE-MERGELY.html|^docs/Makefile|^scripts/whitespacecleanup.sh|/(graph|mergely|native.history)\.js|/test_dump_html_mails.ref.html|\.png|\.gif|\.ico|\.pot|\.po|\.mo|\.tar\.gz|\.diff)$'`
 
files=`hg mani | egrep -v '/fontello/|/templates/email/|(^LICENSE-MERGELY.html|^docs/Makefile|^scripts/whitespacecleanup.sh|/(graph|mergely|native.history)\.js|/test_dump_html_mails.ref.html|\.png|\.gif|\.ico|\.pot|\.po|\.mo|\.tar\.gz|\.diff)$'`
 

	
 
sed -i "s/`printf '\r'`//g" $files
 
sed -i -e "s,`printf '\t'`,    ,g" $files
0 comments (0 inline, 0 general)