]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/users/subscriptions_settings.html
enabling the CSRF protection middleware and adding the {% csrf_token %} tag to the...
[osqa.git] / forum / skins / default / templates / users / subscriptions_settings.html
1 {% load i18n %}\r
2 {% load extra_tags %}\r
3 {% load humanize %}\r
4 \r
5 <h2>{% trans "Notifications and subscription settings" %}</h2>\r
6 <p class="message">\r
7     {% blocktrans %}\r
8     Here you can decide which types of notifications you wish to receive, and their frequency.<br />\r
9     {% endblocktrans %}\r
10 </p>\r
11 <div class='inline-block'>\r
12 <form method="POST">\r
13     {% csrf_token %}\r
14     {{ form.errors }}\r
15     <table class="form-as-table">\r
16         <tr>\r
17             <td colspan="2">\r
18                 <strong>{% trans "Notify me when:" %}</strong>\r
19             </td>\r
20         </tr>\r
21         <tr>\r
22             <td>{% trans "A new member joins" %}</td>\r
23             <td>{{ form.member_joins }}</td>\r
24         </tr>\r
25         <tr>\r
26             <td>{% trans "A new question is posted" %}</td>\r
27             <td>{{ form.new_question }}</td>\r
28         </tr>\r
29         <tr>\r
30             <td>{% trans "A new question matching my interesting tags is posted" %}</td>\r
31             <td>{{ form.new_question_watched_tags }}</td>\r
32         </tr>\r
33         <tr>\r
34             <td>{% trans "There's an update on one of my subscriptions" %}</td>\r
35             <td >{{ form.subscribed_questions }}</td>\r
36         </tr>\r
37     </table>\r
38     <p>&nbsp;</p>\r
39     <table class="form-as-table check-table">\r
40         <tr>\r
41             <td colspan="3">\r
42                 <strong>{% trans "Auto subscribe me to:" %}</strong>\r
43             </td>\r
44         </tr>\r
45         <tr>\r
46             <td>\r
47                 {{ form.questions_viewed }}{% trans "Questions I view" %}\r
48             </td>\r
49             <td>\r
50                 {{ form.all_questions_watched_tags }}{% trans "All questions matching my interesting tags" %}\r
51             </td>\r
52             <td>\r
53                 {{ form.all_questions }}{% trans "All questions" %}\r
54             </td>\r
55         </tr>\r
56     </table>\r
57     <p>&nbsp;</p>\r
58     <table class="form-as-table check-table">\r
59         <tr>\r
60             <td colspan="2">\r
61                 <strong>{% trans "On my subscriptions, notify me when:" %}</strong>\r
62             </td>\r
63         </tr>\r
64         <tr>\r
65             <td>\r
66                 {{ form.notify_answers }}{% trans "An answer is posted" %}\r
67             </td>\r
68             <td>\r
69                 {{ form.notify_comments_own_post }}{% trans "A comment on one of my posts is posted" %}\r
70             </td>\r
71         </tr>\r
72         <tr>\r
73             <td>\r
74                 {{ form.notify_comments }}{% trans "A comment is posted" %}\r
75             </td>\r
76             <td>\r
77                 {{ form.notify_accepted }}{% trans "An answer is accepted" %}\r
78             </td>\r
79         </tr>\r
80     </table>\r
81     <p>&nbsp;</p>\r
82     <table class="form-as-table check-table">\r
83         <tr>\r
84             <td>\r
85                 <strong>{% trans "Daily Digest:" %}</strong>\r
86             </td>\r
87         </tr>\r
88         <tr>\r
89             <td>\r
90                 {{ form.send_digest }}{% trans "Send me the daily digest with information about the site activity" %}\r
91             </td>\r
92         </tr>\r
93         <tr>\r
94             <td>\r
95                 <strong>{% trans "Notify When I'm Discussed:" %}</strong>\r
96             </td>\r
97         </tr>\r
98         <tr>\r
99             <td>\r
100                 {{ form.notify_reply_to_comments }}{% trans "Notify me when someone replies to one of my comments on any post using the <pre>@username</pre> notation" %}\r
101             </td>\r
102         </tr>\r
103     </table>\r
104     <div class="submit-row">\r
105         <input type="submit" class="submit" name="save" value="{% trans "Update" %}"/>\r
106     </div>\r
107 </form>\r
108 </div>\r