summaryrefslogtreecommitdiffstats
path: root/askbot/skins/default/templates/instant_notification.html
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/skins/default/templates/instant_notification.html')
-rw-r--r--askbot/skins/default/templates/instant_notification.html34
1 files changed, 16 insertions, 18 deletions
diff --git a/askbot/skins/default/templates/instant_notification.html b/askbot/skins/default/templates/instant_notification.html
index 86556fda..92799a96 100644
--- a/askbot/skins/default/templates/instant_notification.html
+++ b/askbot/skins/default/templates/instant_notification.html
@@ -1,44 +1,42 @@
-{% load i18n %}
-{% load smart_if %}
-{% blocktrans %}<p>Dear {{receiving_user_name}},</p>{% endblocktrans %}
+{% trans %}<p>Dear {{receiving_user_name}},</p>{% endtrans %}
{% if update_type == 'question_comment' %}
-{% blocktrans %}
+{% trans %}
<p>{{update_author_name}} left a <a href="{{post_url}}">new comment</a>:</p>
-{% endblocktrans %}
+{% endtrans %}
{% endif %}
{% if update_type == 'answer_comment' %}
-{% blocktrans %}
+{% trans %}
<p>{{update_author_name}} left a <a href="{{post_url}}">new comment</a></p>
-{% endblocktrans %}
+{% endtrans %}
{% endif %}
{% if update_type == 'new_answer' %}
-{% blocktrans %}
+{% trans %}
<p>{{update_author_name}} answered a question
<a href="{{post_url}}">{{origin_post_title}}</a></p>
-{% endblocktrans %}
+{% endtrans %}
{% endif %}
{% if update_type == 'new_question' %}
-{% blocktrans %}
+{% trans %}
<p>{{update_author_name}} posted a new question
<a href="{{post_url}}">{{origin_post_title}}</a></p>
-{% endblocktrans %}
+{% endtrans %}
{% endif %}
{%if update_type == 'answer_update' %}
-{% blocktrans %}
+{% trans %}
<p>{{update_author_name}} updated an answer to the question
<a href="{{post_url}}">{{origin_post_title}}</a></p>
-{% endblocktrans %}
+{% endtrans %}
{% endif %}
{% if update_type == 'question_update' %}
-{% blocktrans %}
+{% trans %}
<p>{{update_author_name}} updated a question
<a href="{{post_url}}">{{origin_post_title}}</a></p>
-{% endblocktrans %}
+{% endtrans %}
{% endif %}
<p></p>
-{% blocktrans %}
+{% trans %}
<div>{{content_preview}}</div>
<p>Please note - you can easily <a href="{{user_subscriptions_url}}">change</a>
how often you receive these notifications or unsubscribe. Thank you for your interest in our forum!</p>
-{% endblocktrans %}
-{% trans "<p>Sincerely,<br/>Forum Administrator</p>" %}
+{% endtrans %}
+{% trans %}<p>Sincerely,<br/>Forum Administrator</p>{% endtrans %}