Permalink
Browse files

fix email html/text email template mixup

  • Loading branch information...
bryanhelmig committed Jun 22, 2012
1 parent 9f1ff7c commit e78e932e5ea357acd26e83eab8db5a5e79546b44
View
@@ -23,6 +23,7 @@ knowledge/templates/django_knowledge/index.html
knowledge/templates/django_knowledge/inner.html
knowledge/templates/django_knowledge/list.html
knowledge/templates/django_knowledge/mod_bar.html
+knowledge/templates/django_knowledge/question_list.html
knowledge/templates/django_knowledge/sidebar.html
knowledge/templates/django_knowledge/thread.html
knowledge/templates/django_knowledge/welcome.html
@@ -10,7 +10,9 @@
We just wanted to let you know that a new response has been added to the question "{{ title }}". You can visit it here: <a href="{{ domain }}{{ url }}">{{ domain }}{{ url }}</a>.
{% endblocktrans %}</p>
- {{ response.body }}
+ <div style="background:#f3f3f3;margin:8px 0;padding:12px 18px">
+ {{ response.body|striptags|markdown }}
+ </div>
<p>{% trans "You are receiving these messages because you checked the 'alert' box when you originally posted." %}</p>
{% endif %}
@@ -20,7 +22,9 @@
We just wanted to let you know that a new question has been added: "{{ title }}". You can visit it here: <a href="{{ domain }}{{ url }}">{{ domain }}{{ url }}</a>
{% endblocktrans %}</p>
- {{ question.body }}
+ <div style="background:#f3f3f3;margin:8px 0;padding:12px 18px">
+ {{ question.body|striptags|markdown }}
+ </div>
<p>{% trans "You are receiving these messages because you are a staff member." %}</p>
{% endif %}
@@ -8,9 +8,7 @@
We just wanted to let you know that a new response has been added to the question "{{ title }}". You can visit it here: {{ domain }}{{ url }}
{% endblocktrans %}
- <div style="background:#f3f3f3;margin:8px 0;padding:12px 18px">
- {{ response.body|striptags|markdown }}
- </div>
+ {{ response.body }}
{% trans "You are receiving these messages because you checked the 'alert' box when you originally posted." %}
{% endif %}
@@ -20,9 +18,7 @@
We just wanted to let you know that a new question has been added: "{{ title }}". You can visit it here: {{ domain }}{{ url }}
{% endblocktrans %}
- <div style="background:#f3f3f3;margin:8px 0;padding:12px 18px">
- {{ question.body|striptags|markdown }}
- </div>
+ {{ question.body }}
{% trans "You are receiving these messages because you are a staff member." %}
{% endif %}

0 comments on commit e78e932

Please sign in to comment.