datatracker/ietf/templates/liaisons/liaison_mail.txt
Ole Laursen 4250a95556 Remove proxy layer from liaisons tool, do some minor cleanups of
duplicated code, make sure the custom form widgets escape their input.

There's still a bit of custom proxying going on in the IETFHM class
hierarchy.
 - Legacy-Id: 6794
2013-12-05 13:54:48 +00:00

20 lines
1 KiB
Plaintext

{% load ietf_filters %}{% autoescape off %}Title: {{ liaison.title|clean_whitespace }}
Submission Date: {{ liaison.submitted|date:"Y-m-d" }}
URL of the IETF Web page: {{ url }}
{% if liaison.deadline %}Please reply by {{ liaison.deadline }}{% endif %}
From: {{ liaison.from_name }} ({{ liaison.from_contact.person }} <{{ liaison.reply_to|default:liaison.from_contact.address }}>)
To: {{ liaison.to_name }} ({{ liaison.to_contact }})
Cc: {{ liaison.cc }}
Response Contact: {{ liaison.response_contact }}
Technical Contact: {{ liaison.technical_contact }}
Purpose: {{ liaison.purpose.name }}
{% if liaison.related_to %}Referenced liaison: {% if liaison.related_to.title %}{{ liaison.related_to.title }}{% else %}Liaison #{{ liaison.related_to.pk }}{% endif %} ({{ referenced_url }}){% endif %}
Body: {{ liaison.body }}
Attachments:
{% for doc in liaison.attachments.all %}
{{ doc.title }}
https://datatracker.ietf.org/documents/LIAISON/{{ doc.external_url }}
{% empty %}
No document has been attached
{% endfor %}{% endautoescape %}