diff options
author | volpino <fox91@anche.no> | 2012-08-11 15:09:42 +0200 |
---|---|---|
committer | volpino <fox91@anche.no> | 2012-08-11 15:09:42 +0200 |
commit | d1058aed8b4557900a4d011034c482009c68f100 (patch) | |
tree | 4f25c2415bd4cb86c4f360c47949b617a4f60139 /euscanwww/djeuscan/templates/euscan | |
parent | euscanwww: Adding more options to preferences, implementing more filters for ... (diff) | |
download | euscan-d1058aed8b4557900a4d011034c482009c68f100.tar.gz euscan-d1058aed8b4557900a4d011034c482009c68f100.tar.bz2 euscan-d1058aed8b4557900a4d011034c482009c68f100.zip |
euscanwww: initial implementation of euscan updates email
Signed-off-by: volpino <fox91@anche.no>
Diffstat (limited to 'euscanwww/djeuscan/templates/euscan')
-rw-r--r-- | euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt | 6 | ||||
-rw-r--r-- | euscanwww/djeuscan/templates/euscan/accounts/preferences.html | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt b/euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt new file mode 100644 index 0000000..35dd6d3 --- /dev/null +++ b/euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt @@ -0,0 +1,6 @@ +Hello {{ user }}, + +euscan news: +{% for vlog in vlogs %} + * {{ vlog.package.category }}/{{ vlog.package.name }}-{{ vlog.version }}-{{ vlog.revision }}:{{ vlog.slot }} [{{ vlog.vtype }}] +{% endfor %} diff --git a/euscanwww/djeuscan/templates/euscan/accounts/preferences.html b/euscanwww/djeuscan/templates/euscan/accounts/preferences.html index 4aa0a37..bde79af 100644 --- a/euscanwww/djeuscan/templates/euscan/accounts/preferences.html +++ b/euscanwww/djeuscan/templates/euscan/accounts/preferences.html @@ -81,6 +81,10 @@ <td><ul class="errorlist">{{ form.email_activated.errors }}</ul>{{ form.email_activated }}</td> </tr> <tr> + <th>{{ form.email_every.label_tag }}</th> + <td><ul class="errorlist">{{ form.email_every.errors }}</ul>{{ form.email_every }}</td> + </tr> + <tr> <th>{{ form.email_ignore_pre.label_tag }}</th> <td><ul class="errorlist">{{ form.email_ignore_pre.errors }}</ul>{{ form.email_ignore_pre }}</td> </tr> |