nicer mail
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 24 Oct 2012 12:41:11 +0000 (14:41 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 24 Oct 2012 12:41:11 +0000 (14:41 +0200)
contact/templates/contact/mail_managers_body.txt

index c54478a..386c9cd 100644 (file)
@@ -2,4 +2,11 @@
 
 http://{{ site_domain }}{% url 'admin:contact_contact_change' contact.pk %}
 
-{{ contact.body }}
+{% for k, v in contact.body.items %}
+{{ k }}:
+{{ v }}
+{% endfor %}
+{% for attachment in contact.attachment_set.all %}
+{{ attachment.tag }}:
+http://{{ site_domain }}{{ attachment.get_absolute_url }}
+{% endfor %}