]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/subscription_status.html
hopefully this will clear up all issues concerning the adding/editing of answers...
[osqa.git] / forum / skins / default / templates / subscription_status.html
1 {% spaceless %}\r
2 {% load i18n extra_tags %}\r
3 <h3 class="subtitle">{% trans "Follow this question" %}</h3>\r
4 <strong>{% trans "By Email" %}:</strong>\r
5 {% if request.user.is_authenticated %}\r
6     <div class="subscription-status">\r
7         {% if subscription %}\r
8             {% if subscription.auto_subscription %}\r
9                 <p>{% trans "You were automatically subscribed to this question." %}</p>\r
10             {% else %}\r
11                 <p>{% trans "You are subscribed to this question." %}</p>\r
12             {% endif %}\r
13         {% else %}\r
14             <p>{% trans "You are not subscribed to this question." %}</p>\r
15         {% endif %}\r
16     </div>\r
17     <p><a class="ajax-command sidebar_button subscription_switch" href="{% url subscribe_simple id=question.id %}">\r
18         {% if subscription %}\r
19             {% trans "unsubscribe me" %}\r
20         {% else %}\r
21             {% trans "subscribe me" %}\r
22         {% endif %}\r
23     </a></p>\r
24     <p>\r
25         {% url user_subscriptions id=request.user.id,slug=request.user.username|slugify as subscriptions_url %}\r
26         {% blocktrans %}\r
27             (you can adjust your notification settings on your <a href="{{ subscriptions_url }}">profile</a>)\r
28         {% endblocktrans %}\r
29     </p>\r
30 {% else %}\r
31     <p>{% trans "Once you sign in you will be able to subscribe for any updates here" %}</p>\r
32 {% endif %}\r
33 <strong>{% trans "By RSS" %}:</strong>\r
34 <p>\r
35     <a class="feed-icon" style="background-image:url('{% media "media/images/feed-icon-small.png" %}');"\r
36         href="{{ question.get_absolute_url }}?type=rss" title="{% trans "subscribe to answers" %}"></a>\r
37     {% trans "Answers" %}\r
38 </p>\r
39 <p>\r
40     <a class="feed-icon" style="background-image:url('{% media "media/images/feed-icon-small.png" %}');"\r
41         href="{{ question.get_absolute_url }}?type=rss&comments=yes" title="{% trans "subscribe to comments and answers" %}"></a>\r
42     {% trans "Answers and Comments" %}\r
43 </p>\r
44 {% endspaceless %}\r