]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/subscription_status.html
Fixes (finaly) the email digest. Needs some improvements and some tweaks in the user...
[osqa.git] / forum / skins / default / templates / subscription_status.html
1 {% load i18n %}\r
2 \r
3 <h3 class="subtitle">{% trans "Subscription" %}:</h3>\r
4 {% if request.user.is_authenticated %}\r
5     <div class="subscription-status">\r
6         {% if subscription %}\r
7             {% if subscription.auto_subscription %}\r
8                 <p>{% trans "You were automatically subscribed to this question." %}</p>\r
9             {% else %}\r
10                 <p>{% trans "You are subscribed to this question." %}</p>\r
11             {% endif %}\r
12         {% else %}\r
13             <p>{% trans "You are not subscribed to this question." %}</p>\r
14         {% endif %}\r
15     </div>\r
16     <p><a class="ajax-command sidebar_button subscription_switch" href="{% url subscribe id=question.id %}">\r
17         {% if subscription %}\r
18             {% trans "unsubscribe me" %}\r
19         {% else %}\r
20             {% trans "subscribe me" %}\r
21         {% endif %}\r
22     </a></p>\r
23     <p>\r
24         {% url user_subscriptions id=request.user.id,slug=request.user.username|slugify as subscriptions_url %}\r
25         {% blocktrans %}\r
26             (you can adjust your notification settings on your <a href="{{ subscriptions_url }}">profile</a>)\r
27         {% endblocktrans %}\r
28     </p>\r
29 {% else %}\r
30     <p>{% trans "Once you sign in you will be able to subscribe for any updates here" %}</p>\r
31 {% endif %}\r