|
|
|
@ -392,7 +392,7 @@ class NewsLetterSender(object): |
|
|
|
if self.announce: |
|
|
|
if self.announce: |
|
|
|
# render template by default announce template |
|
|
|
# render template by default announce template |
|
|
|
# template = get_template('newsletter/announce_template.html') |
|
|
|
# template = get_template('newsletter/announce_template.html') |
|
|
|
template = get_template('newsletter/AutomaticEmail.html') |
|
|
|
template = get_template('newsletter/AutomaticEmail_v2.html') |
|
|
|
context.update(announce_context) |
|
|
|
context.update(announce_context) |
|
|
|
content = template.render(context) |
|
|
|
content = template.render(context) |
|
|
|
elif self.newsletter.ab_testing == True: |
|
|
|
elif self.newsletter.ab_testing == True: |
|
|
|
|