summaryrefslogtreecommitdiffstats
path: root/askbot/skins
diff options
context:
space:
mode:
authorAdolfo Fitoria <adolfo.fitoria@gmail.com>2012-09-18 20:28:50 -0600
committerAdolfo Fitoria <adolfo.fitoria@gmail.com>2012-09-18 20:28:50 -0600
commit9097d8a9d76bdec9c5414f60acb8c61dc4b2cde0 (patch)
tree23fd284b20c58dcba0270e2c80974cada2332eb9 /askbot/skins
parent33a57fbcb64049a817998411e01cc37cc5315e75 (diff)
downloadaskbot-9097d8a9d76bdec9c5414f60acb8c61dc4b2cde0.tar.gz
askbot-9097d8a9d76bdec9c5414f60acb8c61dc4b2cde0.tar.bz2
askbot-9097d8a9d76bdec9c5414f60acb8c61dc4b2cde0.zip
added templates for hardcoded emails
Diffstat (limited to 'askbot/skins')
-rw-r--r--askbot/skins/default/templates/email/accept_answer_reminder.html14
-rw-r--r--askbot/skins/default/templates/email/instant_notification.html (renamed from askbot/skins/default/templates/instant_notification.html)12
-rw-r--r--askbot/skins/default/templates/email/rejected_post.html12
-rw-r--r--askbot/skins/default/templates/email/unanswered_question_reminder.html14
4 files changed, 51 insertions, 1 deletions
diff --git a/askbot/skins/default/templates/email/accept_answer_reminder.html b/askbot/skins/default/templates/email/accept_answer_reminder.html
new file mode 100644
index 00000000..7b922cd4
--- /dev/null
+++ b/askbot/skins/default/templates/email/accept_answer_reminder.html
@@ -0,0 +1,14 @@
+{% extends "email/base_mail.html"%}
+{%block title%}{{reminder_phrase}}{% endblock %}
+{%block headline%}{{reminder_phrase}}{% endblock %}
+
+{%block content %}
+<ul>
+ {% for question in questions %}
+ <li><a href="{{site_url}}{{question.get_absolute_url()}}?sort=latest">{{question.thread.title}}</a></li>
+ {% endfor %}
+</ul>
+{% endblock %}
+{%block footer %}
+{% include "email/footer.html" %}
+{% endblock %}
diff --git a/askbot/skins/default/templates/instant_notification.html b/askbot/skins/default/templates/email/instant_notification.html
index cd6e5427..3e8533b6 100644
--- a/askbot/skins/default/templates/instant_notification.html
+++ b/askbot/skins/default/templates/email/instant_notification.html
@@ -1,7 +1,17 @@
+{% extends "email/base_mail.html"%}
+
+{%block content %}
{{ reply_separator }}
<div>{{ content_preview }}</div>
{% trans %}
<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>
{% endtrans %}
-{% trans %}<p>Sincerely,<br/>Forum Administrator</p>{% endtrans %}
+{%endblock%}
+
+{%block footer %}
+{% include "email/footer.html" %}
+{% if can_reply %}
+<p style="font-size:8px;color:#aaa">{{reply_address}}</p>
+{%endif%}
+{%endblock%}
diff --git a/askbot/skins/default/templates/email/rejected_post.html b/askbot/skins/default/templates/email/rejected_post.html
new file mode 100644
index 00000000..7106d37f
--- /dev/null
+++ b/askbot/skins/default/templates/email/rejected_post.html
@@ -0,0 +1,12 @@
+{% extends "email/base_mail.html"%}
+{%block headline%}{% trans %} Your post was rejected. {% endtrans %}{%endblock%}
+{%block title%}{% trans %} Your post was rejected. {% endtrans %}{%endblock%}
+{%block content %}
+<p>{% trans %}Your post (copied in the end), was rejected for the following reason:{% endtrans %}</p>,
+<p>{{reject_reason|safe}}</p>
+<p>{% trans %}Here is your original post{% endtrans %}</p>
+<p>{{post|safe}}</p>
+{% endblock %}
+{%block footer %}
+{% include "email/footer.html" %}
+{% endblock %}
diff --git a/askbot/skins/default/templates/email/unanswered_question_reminder.html b/askbot/skins/default/templates/email/unanswered_question_reminder.html
new file mode 100644
index 00000000..8eaa6f40
--- /dev/null
+++ b/askbot/skins/default/templates/email/unanswered_question_reminder.html
@@ -0,0 +1,14 @@
+{% extends "email/base_mail.html"%}
+{%block title%}{{subject_line}}{% endblock %}
+{%block headline%}{{subject_line}}{% endblock %}
+
+{%block content %}
+<ul>
+ {% for question in questions %}
+ <li><a href="{{site_url}}{{question.get_absolute_url()}}?sort=latest">{{question.thread.title}}</a></li>
+ {% endfor %}
+</ul>
+{% endblock %}
+{%block footer %}
+{% include "email/footer.html" %}
+{% endblock %}