Turn autoescaping off for everything in text/plain email templates.

- Legacy-Id: 2764
This commit is contained in:
Henrik Levkowetz 2011-01-27 15:04:54 +00:00
parent 7ce52caa78
commit 6958488029
4 changed files with 18 additions and 15 deletions

View file

@ -1,16 +1,17 @@
From: The IESG <iesg-secretary@ietf.org>
{% autoescape off %}From: The IESG <iesg-secretary@ietf.org>
To: IETF-Announce <ietf-announce@ietf.org>{% if cc %}
Cc: {{ cc|safe }}{% endif %}
Subject: {{ action_type }} Action: '{{ doc.title }}' to {{ status }} ({{ doc.filename_with_rev|safe }})
Cc: {{ cc }}{% endif %}
Subject: {{ action_type }} Action: '{{ doc.title }}' to {{ status }} ({{ doc.filename_with_rev }})
{% filter wordwrap:73 %}The IESG has approved the following document{{ docs|pluralize }}:{% for d in docs %}
- '{{ d.filled_title }}'
({{ d.filename_with_rev|safe }}) as {{ d.full_status }}{% endfor %}
({{ d.filename_with_rev }}) as {{ d.full_status }}{% endfor %}
{{ made_by }}
{{ contacts }}
A URL of this {{ doc_type }} is:
{{ doc_url|safe }}
{{ doc_url }}
{% endfilter %}
{% endautoescape %}

View file

@ -1,9 +1,9 @@
To: Internet Engineering Steering Group <iesg@ietf.org>
{% autoescape off %}To: Internet Engineering Steering Group <iesg@ietf.org>
From: IESG Secretary <iesg-secretary@ietf.org>
Reply-To: IESG Secretary <iesg-secretary@ietf.org>
Subject: Evaluation: {{ doc.file_tag|safe }} to {{ status }}
Subject: Evaluation: {{ doc.file_tag }} to {{ status }}
{% filter wordwrap:73 %}Evaluation for {{ doc.file_tag|safe }} can be found at {{ doc_url }}
{% filter wordwrap:73 %}Evaluation for {{ doc.file_tag }} can be found at {{ doc_url }}
{% if doc.lc_expiration_date %}Last call to expire on: {{ doc.lc_expiration_date }}
@ -11,10 +11,10 @@ Subject: Evaluation: {{ doc.file_tag|safe }} to {{ status }}
Please return the full line with your position.
Yes No-Objection Discuss Abstain
{% for ad, fmt in active_ad_positions %}{{ fmt|safe }}
{% for ad, fmt in active_ad_positions %}{{ fmt }}
{% endfor %}{% if inactive_ad_positions %}
{% for ad, fmt in inactive_ad_positions %}{{ fmt|safe }}
{% for ad, fmt in inactive_ad_positions %}{{ fmt }}
{% endfor %}{% endif %}
"Yes" or "No-Objection" positions from 2/3 of non-recused ADs,
@ -33,7 +33,8 @@ DISCUSSES AND COMMENTS
{% endif %}
{% endfor %}{% endfilter %}
---- following is a DRAFT of message to be sent AFTER approval ---
{{ doc.idinternal.ballot.approval_text|safe }}{% if doc.idinternal.ballot.ballot_writeup %}
{{ doc.idinternal.ballot.approval_text }}{% if doc.idinternal.ballot.ballot_writeup %}
{{ doc.idinternal.ballot.ballot_writeup|safe }}
{{ doc.idinternal.ballot.ballot_writeup }}
{% endif %}
{% endautoescape%}

View file

@ -1,4 +1,4 @@
Title: {{ liaison.title }}
{% autoescape off %}Title: {{ liaison.title }}
Submission Date: {{ liaison.submitted_date }}
URL of the IETF Web page: {% url liaison_detail object_id=liaison.pk %}
{% if liaison.deadline_date %}Please reply by {{ liaison.deadline_date }}{% endif %}
@ -16,3 +16,4 @@ Attachment(s):
{% empty %}
No document has been attached
{% endfor %}
{% endautoescape %}

View file

@ -1,5 +1,5 @@
The following liaison statement will remain pending (and not public available) in the system until you approve it:
{% autoescape off %}
Title: {{ liaison.title }}
Submission Date: {{ liaison.submitted_date }}
URL of the IETF Web page: {% url liaison_approval_detail liaison.pk %}
@ -18,6 +18,6 @@ Attachment(s):
{% empty %}
No document has been attached
{% endfor %}
{% endautoescape %}
Please visit {% url liaison_approval_detail liaison.pk %} in order to approve the liaison statement.