]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/users/subscriptions.html
Adds the user menu to the injectable places, makes several improvements in the user...
[osqa.git] / forum / skins / default / templates / users / subscriptions.html
1 {% extends "user.html" %}\r
2 <!-- user_subscriptions.html -->\r
3 {% load i18n %}\r
4 {% load extra_tags %}\r
5 {% load humanize %}\r
6 \r
7 {% block usercontent %}\r
8     <h2>{% trans "Notifications and subscription settings" %}</h2>\r
9     <p class="message">\r
10         {% blocktrans %}\r
11         Here you can decide which types of notifications you wish to receive, and their frequency.<br />\r
12         {% endblocktrans %}\r
13         {% if notificatons_on %}\r
14         {% blocktrans %}\r
15         Currently you have notifications enabled. You can always stop all notifications without losing your settings and restart them afterwards.<br />\r
16         {% endblocktrans %}\r
17         {% else %}\r
18         {% blocktrans %}\r
19         Currently you have notifications disabled. You can enable them by clicking on the <strong>Start notifications</strong> button below.<br />\r
20         {% endblocktrans %}\r
21         {% endif %}\r
22     </p>\r
23     <div class='inline-block'>\r
24     <form method="POST">\r
25         {{ form.errors }}\r
26         <table class="form-as-table">\r
27             <tr>\r
28                 <td colspan="2">\r
29                     <strong>{% trans "Notify me when:" %}</strong>\r
30                 </td>\r
31             </tr>\r
32             <tr>\r
33                 <td>{% trans "A new member joins" %}</td>\r
34                 <td>{{ form.member_joins }}</td>\r
35             </tr>\r
36             <tr>\r
37                 <td>{% trans "A new question is posted" %}</td>\r
38                 <td>{{ form.new_question }}</td>\r
39             </tr>\r
40             <tr>\r
41                 <td>{% trans "A new question matching my interesting tags is posted" %}</td>\r
42                 <td>{{ form.new_question_watched_tags }}</td>\r
43             </tr>\r
44             <tr>\r
45                 <td>{% trans "There's an update on one of my subscriptions" %}</td>\r
46                 <td >{{ form.subscribed_questions }}</td>\r
47             </tr>\r
48         </table>\r
49         <p>&nbsp;</p>\r
50         <table class="form-as-table check-table">\r
51             <tr>\r
52                 <td colspan="3">\r
53                     <strong>{% trans "Auto subscribe me to:" %}</strong>\r
54                 </td>\r
55             </tr>\r
56             <tr>\r
57                 <td>\r
58                     {{ form.questions_asked }}{% trans "Questions I ask" %}\r
59                 </td>\r
60                 <td>\r
61                     {{ form.questions_answered }}{% trans "Questions I answer" %}\r
62                 </td>\r
63                 <td>\r
64                     {{ form.questions_commented }}{% trans "Questions I comment" %}\r
65                 </td>\r
66             </tr>\r
67             <tr>                \r
68                 <td>\r
69                     {{ form.questions_viewed }}{% trans "Questions I view" %}\r
70                 </td>\r
71                 <td>\r
72                     {{ form.all_questions_watched_tags }}{% trans "All questions matching my interesting tags" %}\r
73                 </td>\r
74                 <td>\r
75                     {{ form.all_questions }}{% trans "All questions" %}\r
76                 </td>\r
77             </tr>\r
78         </table>\r
79         <p>&nbsp;</p>\r
80         <table class="form-as-table check-table">\r
81             <tr>\r
82                 <td colspan="2">\r
83                     <strong>{% trans "On my subscriptions, notify me when:" %}</strong>\r
84                 </td>\r
85             </tr>\r
86             <tr>\r
87                 <td>\r
88                     {{ form.notify_answers }}{% trans "An answer is posted" %}\r
89                 </td>\r
90                 <td>\r
91                     {{ form.notify_comments_own_post }}{% trans "A comment on one of my posts is posted" %}\r
92                 </td>\r
93             </tr>\r
94             <tr>\r
95                 <td>\r
96                     {{ form.notify_comments }}{% trans "A comment is posted" %}\r
97                 </td>\r
98                 <td>\r
99                     {{ form.notify_accepted }}{% trans "An answer is accepted" %}\r
100                 </td>\r
101             </tr>\r
102         </table>\r
103         <p>&nbsp;</p>\r
104         <table class="form-as-table check-table">\r
105             <tr>\r
106                 <td>\r
107                     <strong>{% trans "More:" %}</strong>\r
108                 </td>\r
109             </tr>\r
110             <tr>\r
111                 <td>\r
112                     {{ 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
113                 </td>\r
114             </tr>\r
115             <tr>\r
116                 <td>\r
117                     {{ form.send_digest }}{% trans "Send me the daily digest with information about the site activity" %}\r
118                 </td>\r
119             </tr>\r
120         </table>\r
121         <div class="submit-row">\r
122             <input type="submit" class="submit" name="save" value="{% trans "Update" %}"/>\r
123             {% if notificatons_on %}\r
124             <input type="submit" class="submit" name="notswitch" value="{% trans "Stop notifications" %}"/>\r
125             {% else %}\r
126             <input type="submit" class="submit" name="notswitch" value="{% trans "Start notifications" %}"/>            \r
127             {% endif %}\r
128         </div>\r
129     </form>\r
130     </div>\r
131 {% endblock %}\r
132 <!-- end user_subscriptions.html -->\r