Ignore:
Timestamp:
May 31, 2012, 2:29:50 AM (14 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/fysm
Files:
2 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   
Note: See TracChangeset for help on using the changeset viewer.