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