aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'euscanwww/djeuscan/templates/euscan')
-rw-r--r--euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt6
-rw-r--r--euscanwww/djeuscan/templates/euscan/accounts/preferences.html4
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>