From a29d4c7d16a31b07dc3006876d3a52f06fba453c Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Fri, 27 Jul 2012 21:36:45 +0000 Subject: [PATCH] Changed and tweaked various submission emails in order to 1) make it less likely that they would be classified as spam (better ratio of English text to hash urls) and 2) provide better consistency in formatting of key/value information. - Legacy-Id: 4640 --- .../templates/submit/announce_new_version.txt | 3 +- ietf/templates/submit/confirm_autopost.txt | 20 ++++++--- ietf/templates/submit/manual_post_mail.txt | 36 +++++++++------- ietf/templates/submit/request_full_url.txt | 17 ++++++-- ietf/templates/submit/submission_approval.txt | 41 +++++++++++-------- 5 files changed, 78 insertions(+), 39 deletions(-) diff --git a/ietf/templates/submit/announce_new_version.txt b/ietf/templates/submit/announce_new_version.txt index 7c04ec35a..b3ea6ba29 100644 --- a/ietf/templates/submit/announce_new_version.txt +++ b/ietf/templates/submit/announce_new_version.txt @@ -1,4 +1,5 @@ -{% autoescape off %}New version (-{{ submission.revision }}) has been submitted for {{ submission.filename }}-{{ submission.revision }}.txt: +{% autoescape off %} +A new version (-{{ submission.revision }}) has been submitted for {{ submission.filename }}: http://www.ietf.org/internet-drafts/{{ submission.filename }}-{{ submission.revision }}.txt {% if msg %} {{ msg|striptags }} diff --git a/ietf/templates/submit/confirm_autopost.txt b/ietf/templates/submit/confirm_autopost.txt index 7651dcc6c..f79eefdb8 100644 --- a/ietf/templates/submit/confirm_autopost.txt +++ b/ietf/templates/submit/confirm_autopost.txt @@ -1,8 +1,18 @@ -{% autoescape off %}Follow this link to confirm your Auto-Post of -{{ draft.filename }}-{{ draft.revision }}: +{% autoescape off %} +Hi, -I-D Submission Tool URL: {{ confirm_url|safe }} +The IETF datatracker draft submission service has received your draft +{{ draft.filename }}-{{ draft.revision }}, and requires a +confirmation step in order to be able to complete the posting of +the draft. + +Please follow this link to the page where you can confirm the posting: + {{ confirm_url|safe }} + + +Best regards, + + The IETF Secretariat + through the draft submission service -Remember that you can cancel the submission from: -{{ status_url|safe }} {% endautoescape %} diff --git a/ietf/templates/submit/manual_post_mail.txt b/ietf/templates/submit/manual_post_mail.txt index 2b9291dba..5c06f9cc0 100644 --- a/ietf/templates/submit/manual_post_mail.txt +++ b/ietf/templates/submit/manual_post_mail.txt @@ -1,23 +1,31 @@ -{% autoescape off %}Manual posting has been requested for the following Internet-Draft: +{% autoescape off %} +Hi, -I-D Submission Tool URL: {{ url }} +Manual posting has been requested for the following Internet-Draft: -File name: {{ draft.filename }} -Version: {{ draft.revision }} -Submission date: {{ draft.submission_date }} -WG: {{ draft.group_acronym|default:"Individual Submission" }} {% if form.validation.warnings.group %}*Please note that this WG is not an active one*{% endif %} +I-D Submission Tool URL: + {{ url }} -Title: {{ draft.id_document_name }} -Document date: {{ draft.creation_date }} -Abstract: {{ draft.abstract }} -Pages: {{ draft.txt_page_count }} -File size: {{ draft.filesize|filesizeformat }} + File name : {{ draft.filename }} + Version : {{ draft.revision }} + Submission date : {{ draft.submission_date }} + WG : {{ draft.group_acronym|default:"Individual Submission" }} {% if form.validation.warnings.group %}*Please note that this WG is not an active one*{% endif %} -Submitter: {{ submitter.get_full_name }} <{{ submitter.email.1 }}> + Title : {{ draft.id_document_name }} + Document date : {{ draft.creation_date }} + Pages : {{ draft.txt_page_count }} + File size : {{ draft.filesize|filesizeformat }} -Authors: -{% for author in form.get_authors %}{{ author.get_full_name }} <{{ author.email.1 }}> + Submitter : {{ submitter.get_full_name }} <{{ submitter.email.1 }}> + + Abstract : {{ draft.abstract }} + + + Authors: +{% for author in form.get_authors %} {{ author.get_full_name }} <{{ author.email.1 }}> {% endfor %} + Comments to the secretariat: + {{ draft.comment_to_sec }} {% endautoescape %} diff --git a/ietf/templates/submit/request_full_url.txt b/ietf/templates/submit/request_full_url.txt index ce61b2646..ecb975303 100644 --- a/ietf/templates/submit/request_full_url.txt +++ b/ietf/templates/submit/request_full_url.txt @@ -1,5 +1,16 @@ -{% autoescape off %}Follow this link to get full access to the submission of -{{ submission.filename }}-{{ submission.revision }}: +{% autoescape off %} +Hi, + +The datatracker has received a request to send out the link to the URL where you +can confirm the submission of your draft {{ submission.filename }}-{{ submission.revision }}. + +Please follow this link to get full access to the submission page: + {{ url|safe }} + + +Best regards, + + The IETF Secretariat + through the draft submission service -{{ url|safe }} {% endautoescape %} diff --git a/ietf/templates/submit/submission_approval.txt b/ietf/templates/submit/submission_approval.txt index f61b726a4..51ea3e6b7 100644 --- a/ietf/templates/submit/submission_approval.txt +++ b/ietf/templates/submit/submission_approval.txt @@ -1,24 +1,33 @@ -{% autoescape off %}WG chair approval is needed for posting of {{ draft.filename }}-{{ draft.revision }}. +{% autoescape off %} +Hi, -Go to this URL to approve the draft (note: you need to login to be -able to approve): +WG chair approval is needed for posting of {{ draft.filename }}-{{ draft.revision }}. -https://{{ domain }}/submit/status/{{ draft.submission_id }}/{{ draft.submission_hash }}/ +To approve the draft, go to this URL (note: you need to login to be able to approve): + https://{{ domain }}/submit/status/{{ draft.submission_id }}/{{ draft.submission_hash }}/ -File name: {{ draft.filename }} -Version: {{ draft.revision }} -Submission date: {{ draft.submission_date }} -WG: {{ draft.group_acronym|default:"Individual Submission" }} + File name : {{ draft.filename }} + Version : {{ draft.revision }} + Submission date : {{ draft.submission_date }} + WG : {{ draft.group_acronym|default:"Individual Submission" }} -Title: {{ draft.id_document_name }} -Document date: {{ draft.creation_date }} -Abstract: {{ draft.abstract }} -Pages: {{ draft.txt_page_count }} -File size: {{ draft.filesize|filesizeformat }} + Title : {{ draft.id_document_name }} + Document date : {{ draft.creation_date }} + Pages : {{ draft.txt_page_count }} + File size : {{ draft.filesize|filesizeformat }} -Submitter: {{ submitter.get_full_name }} <{{ submitter.email_address }}> + Submitter : {{ submitter.get_full_name }} <{{ submitter.email_address }}> -Authors: -{% for author in authors %}{{ author.get_full_name }} <{{ author.email.1 }}> + Abstract : {{ draft.abstract }} + + + Authors: +{% for author in authors %} {{ author.get_full_name }} <{{ author.email.1 }}> {% endfor %} {% endautoescape %} + + +Best regards, + + The IETF Secretariat + through the draft submission service