+
+
+ From:
+ |
+
+ {{ feedback_entry.full_name }} [{{ feedback_entry.email }}]
+ |
+
+
+
+ Comment:
+ |
+
+ {{ feedback_entry.comment|linebreaks }}
+ |
+
+ {% if extra %}
+
+
+ Extra:
+ |
+
+
+ {% for k, v in extra.items() %}
+ - {{ k }}
+ - {{ v }}
+ {% endfor %}
+
+ |
+
+
+{% endblock %}
diff --git a/taiga/feedback/templates/emails/feedback_notification-body-text.jinja b/taiga/feedback/templates/emails/feedback_notification-body-text.jinja
new file mode 100644
index 00000000..fd23785b
--- /dev/null
+++ b/taiga/feedback/templates/emails/feedback_notification-body-text.jinja
@@ -0,0 +1,11 @@
+---------
+- From: {{ feedback_entry.full_name }} [{{ feedback_entry.email }}]
+---------
+- Comment:
+{{ feedback_entry.comment }}
+---------{% if extra %}
+- Extra:
+{% for k, v in extra.items() %}
+ - {{ k }}: {{ v }}
+{% endfor %}
+{% endif %}----------
diff --git a/taiga/feedback/templates/emails/feedback_notification-subject.jinja b/taiga/feedback/templates/emails/feedback_notification-subject.jinja
new file mode 100644
index 00000000..8f0f4b9c
--- /dev/null
+++ b/taiga/feedback/templates/emails/feedback_notification-subject.jinja
@@ -0,0 +1 @@
+[Taiga] Feedback from {{ feedback_entry.full_name }} <{{ feedback_entry.email }}>
diff --git a/taiga/projects/history/models.py b/taiga/projects/history/models.py
index 505a6730..9fa3deb5 100644
--- a/taiga/projects/history/models.py
+++ b/taiga/projects/history/models.py
@@ -111,6 +111,15 @@ class HistoryEntry(models.Model):
if description_diff:
key = "description_diff"
value = (None, description_diff)
+ elif key == "content":
+ content_diff = get_diff_of_htmls(
+ self.diff[key][0],
+ self.diff[key][1]
+ )
+
+ if content_diff:
+ key = "content_diff"
+ value = (None, content_diff)
elif key in users_keys:
value = [resolve_value("users", x) for x in self.diff[key]]
elif key == "watchers":
diff --git a/taiga/projects/history/templates/emails/includes/fields_diff-html.jinja b/taiga/projects/history/templates/emails/includes/fields_diff-html.jinja
index be864da3..ebd2cce4 100644
--- a/taiga/projects/history/templates/emails/includes/fields_diff-html.jinja
+++ b/taiga/projects/history/templates/emails/includes/fields_diff-html.jinja
@@ -1,6 +1,8 @@
{% set excluded_fields = [
"description",
- "description_html"
+ "description_html",
+ "content",
+ "content_html"
] %}