summaryrefslogtreecommitdiffstats
path: root/askbot/const
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-05-21 15:16:51 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-05-21 15:16:51 -0400
commit41b83f3577c11ee34468b3e53e004a80e2048ba4 (patch)
tree71377393d5f3864d31f4ed3b7f4ca65945d15a18 /askbot/const
parent91dd214137aee2cbebe9fdc25e140adab96392c4 (diff)
downloadaskbot-41b83f3577c11ee34468b3e53e004a80e2048ba4.tar.gz
askbot-41b83f3577c11ee34468b3e53e004a80e2048ba4.tar.bz2
askbot-41b83f3577c11ee34468b3e53e004a80e2048ba4.zip
added a mailto link to the instant notification
Diffstat (limited to 'askbot/const')
-rw-r--r--askbot/const/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/askbot/const/__init__.py b/askbot/const/__init__.py
index 7eef91d1..58c3908a 100644
--- a/askbot/const/__init__.py
+++ b/askbot/const/__init__.py
@@ -55,6 +55,10 @@ POST_SORT_METHODS = (
POST_TYPES = ('answer', 'comment', 'question', 'tag_wiki', 'reject_reason')
REPLY_SEPARATOR_TEMPLATE = '==== %(user_action)s %(instruction)s -=-=='
+REPLY_WITH_COMMENT_TEMPLATE = _(
+ 'Note: to reply with a comment, '
+ 'please use <a href="mailto://%(addr)s">this link</a>'
+)
REPLY_SEPARATOR_REGEX = re.compile('==== .* -=-==', re.MULTILINE)
ANSWER_SORT_METHODS = (#no translations needed here