diff options
-rw-r--r-- | askbot/mail/__init__.py | 6 | ||||
-rw-r--r-- | askbot/skins/default/templates/email/ask_for_signature.html | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/askbot/mail/__init__.py b/askbot/mail/__init__.py index f7619964..7ff8a2d3 100644 --- a/askbot/mail/__init__.py +++ b/askbot/mail/__init__.py @@ -346,10 +346,8 @@ def process_emailed_question( user = user, reply_action = 'validate_email' ).as_email_address() - raise PermissionDenied( - messages.ask_for_signature(user, footer_code = reply_to), - reply_to = reply_to - ) + message = messages.ask_for_signature(user, footer_code = reply_to) + raise PermissionDenied(message) tagnames = form.cleaned_data['tagnames'] title = form.cleaned_data['title'] diff --git a/askbot/skins/default/templates/email/ask_for_signature.html b/askbot/skins/default/templates/email/ask_for_signature.html index 7aac4e5e..e4449433 100644 --- a/askbot/skins/default/templates/email/ask_for_signature.html +++ b/askbot/skins/default/templates/email/ask_for_signature.html @@ -5,7 +5,7 @@ <p> {% trans %}Your post could not be published, because we could not detect signature in your email.{% endtrans %}<br/> {% trans %}Please make a simple response, without editing this message.{% endtrans %}<br/> - {% trans %}We will attempt to detect the signature in your response.{% endtrans %} + {% trans %}We will then attempt to detect the signature in your response and you should be able to post.{% endtrans %} </p> {% include "email/footer.html" %} <p style="{{ macros.fine_print_style() }}">{{ footer_code }}</p> |