summaryrefslogtreecommitdiffstats
path: root/askbot/const
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-03-23 02:40:32 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-03-23 02:40:32 -0400
commitb71ded882d8af28d9d836142a4463b23540a1431 (patch)
tree8342ae9ce65f2a26f446176087f28ea27987e4ca /askbot/const
parentebf0a342cd869e983ab63fe882d4f7ae87778ef8 (diff)
downloadaskbot-b71ded882d8af28d9d836142a4463b23540a1431.tar.gz
askbot-b71ded882d8af28d9d836142a4463b23540a1431.tar.bz2
askbot-b71ded882d8af28d9d836142a4463b23540a1431.zip
simplified text of the instant email alert
Diffstat (limited to 'askbot/const')
-rw-r--r--askbot/const/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/askbot/const/__init__.py b/askbot/const/__init__.py
index 11fc8655..9942e27d 100644
--- a/askbot/const/__init__.py
+++ b/askbot/const/__init__.py
@@ -52,7 +52,8 @@ POST_SORT_METHODS = (
('relevance-desc', _('relevance')),
)
-REPLY_SEPARATOR = '======= Reply above this line. ====-=-='
+REPLY_SEPARATOR_TEMPLATE = '==== %(user_action)s %(instruction)s -=-=='
+REPLY_SEPARATOR_REGEX = re.compile('^==== .* -=-==$', re.MULTILINE)
ANSWER_SORT_METHODS = (#no translations needed here
'latest', 'oldest', 'votes'