Changeset d768e47 for asadb/template


Ignore:
Timestamp:
May 31, 2012, 2:29:50 AM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
df88ee9
Parents:
d0f076f
git-author:
Alex Dehnert <adehnert@…> (05/31/12 02:29:50)
git-committer:
Alex Dehnert <adehnert@…> (05/31/12 02:29:50)
Message:

Remove blank initial line from DB emails

It turns out that putting a newline between {% autoescape off %}
and the first line of email text results in an email consisting of a
blank line followed by the actual text. This removes that newline
in a bunch of the template emails. Fixes ASA Trac #116.

Location:
asadb/template
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/fysm/lint_email.txt

    rb4e8cef rd768e47  
    1 {% autoescape off %}
    2 Hi officers of {{obj.display_name}},
     1{% autoescape off %}Hi officers of {{obj.display_name}},
    32   Somebody recently submitted a FYSM entry on behalf of your group. We'd like to encourage you to review your entry as it appears on the FYSM website main page (http://asa.scripts.mit.edu/forms/fysm/, any relevant category pages, and in the slide view (http://asa.scripts.mit.edu/forms/{% url fysm-view obj.year obj.pk %}). You can return to http://asa.scripts.mit.edu/forms{% url fysm-manage obj.pk %} to make any changes you wish to make; please do so by the end of Thursday.
    43{% if results %}
  • asadb/template/fysm/update_email.txt

    rc49fbe2 rd768e47  
    1 {% autoescape off %}
    2 Hi officers of {{group.name}},
     1{% autoescape off %}Hi officers of {{group.name}},
    32   The user {{submitter.first_name}} {{submitter.last_name}} ({{submitter.username}}) has updated your entry in the ASA's First Year Summer Mailing.
    43   
  • asadb/template/groups/create/startup-submitted-email.txt

    r99587d8 rd768e47  
    1 {% autoescape off %}
    2 Thank you for submitting the startup form for {{group.name}}. Somebody from the ASA will be in touch to follow up shortly.
     1{% autoescape off %}Thank you for submitting the startup form for {{group.name}}. Somebody from the ASA will be in touch to follow up shortly.
    32
    43Make sure you have five MIT students testify that they will be active members (https://asa.scripts.mit.edu:444/applications/startup/confirm-membership.py) and fill out the anti-hazing form (https://asa.scripts.mit.edu:444/applications/hazing/saynotohazing.py).
  • asadb/template/groups/diffs/asa-official-update.txt

    r74e9f09 rd768e47  
    1 {% autoescape off %}
    2 We tried to add the following {{add|length}} addresses to {{listname}}, and remove the following {{delete|length}} addresses.{%if errors%} Some errors occurred.{%endif%}
     1{% autoescape off %}We tried to add the following {{add|length}} addresses to {{listname}}, and remove the following {{delete|length}} addresses.{%if errors%} Some errors occurred.{%endif%}
    32
    43Errors:
  • asadb/template/groups/diffs/asa-update-mail.txt

    r8254020 rd768e47  
    1 {% autoescape off %}
    2 Hi ASA Exec,
     1{% autoescape off %}Hi ASA Exec,
    32   The following {{num_groups}} groups have updated their information recently. In addition, {{care_about}} signatory updates (of types you care about) have occurred.
    43
  • asadb/template/groups/diffs/new-group-accounts.txt

    r86d9174 rd768e47  
    1 {% autoescape off %}
    2 Dear Athena Accounts,
     1{% autoescape off %}Dear Athena Accounts,
    32
    43A new student activity has been formed.
  • asadb/template/groups/diffs/new-group-announce.txt

    reac10f7 rd768e47  
    1 {% autoescape off %}
    2 On behalf of the Association of Student Activities (ASA) we welcome:
     1{% autoescape off %}On behalf of the Association of Student Activities (ASA) we welcome:
    32
    43   {{group.name}}
  • asadb/template/groups/diffs/sao-update-mail.txt

    r8254020 rd768e47  
    1 {% autoescape off %}
    2 Hi SAO,
     1{% autoescape off %}Hi SAO,
    32   The following {{care_about}} signatory updates (of types you care about) have occurred. In addition, since we're sending mail anyway, the following {{num_groups}} groups have updated their information recently.
    43
  • asadb/template/membership/submit-confirm-email.txt

    r43434f6 rd768e47  
    1 {% autoescape off %}
    2 {{submitter.first_name}} {{submitter.last_name}} submitted the following membership information for {{group.name}}.
     1{% autoescape off %}{{submitter.first_name}} {{submitter.last_name}} submitted the following membership information for {{group.name}}.
    32
    43Please note, if you are still in the midst of or leading up to your major recruitment period, we encourage you to submit current numbers and a list
  • asadb/template/space/cac-change-email.txt

    r1245546 rd768e47  
    1 {% autoescape off %}
    2 Hi CAC,
     1{% autoescape off %}Hi CAC,
    32   The following groups need access updated.  Let us know if there are any issues with these changes. You should have been CC'd on emails to each group, notifying them that their changes have been forwarded to you folks. Please reply-all to each of these emails (including both the ASA and the group) as you make the changes or run into difficulties.
    43
  • asadb/template/space/group-change-email.txt

    r1245546 rd768e47  
    1 {% autoescape off %}
    2 Hi {{group.name}},
     1{% autoescape off %}Hi {{group.name}},
    32    Thank you for updating space access on the ASA database today. We've forwarded the following changes on to CAC:
    43
Note: See TracChangeset for help on using the changeset viewer.