From 209402f2c5086d95a760fe1007a1f34458badd99 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Thu, 31 May 2012 11:49:50 -0400 Subject: added space around the reply with comment instruction and simplified the separator line in the email alerts --- askbot/models/__init__.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/askbot/models/__init__.py b/askbot/models/__init__.py index 24d4a3fc..3319b9ae 100644 --- a/askbot/models/__init__.py +++ b/askbot/models/__init__.py @@ -2690,10 +2690,8 @@ def format_instant_notification_email( can_reply = to_user.can_reply_by_email() if can_reply: - reply_separator = const.REPLY_SEPARATOR_TEMPLATE % { - 'user_action': user_action, - 'instruction': _('To reply, PLEASE WRITE ABOVE THIS LINE.') - } + reply_separator = const.SIMPLE_REPLY_SEPARATOR_TEMPLATE % \ + _('To reply, PLEASE WRITE ABOVE THIS LINE.') if post.post_type == 'question' and alt_reply_address: data = { 'addr': alt_reply_address, @@ -2701,8 +2699,9 @@ def format_instant_notification_email( ('Re: ' + post.thread.title).encode('utf-8') ) } - reply_separator += '
' + \ + reply_separator += '

' + \ const.REPLY_WITH_COMMENT_TEMPLATE % data + reply_separator += '

' else: reply_separator = user_action -- cgit v1.2.3-1-g7c22