-{% load i18n %}\r
-\r
-<h3 class="subtitle">{% trans "Subscription" %}:</h3>\r
+{% spaceless %}\r
+{% load i18n extra_tags %}\r
+<h3 class="subtitle">{% trans "Follow this question" %}</h3>\r
+<strong>{% trans "By Email" %}:</strong>\r
{% if request.user.is_authenticated %}\r
<div class="subscription-status">\r
{% if subscription %}\r
{% endif %}\r
</a></p>\r
<p>\r
- {% url user_subscriptions id=request.user.id as subscriptions_url %}\r
+ {% url user_subscriptions id=request.user.id,slug=request.user.username|slugify as subscriptions_url %}\r
{% blocktrans %}\r
(you can adjust your notification settings on your <a href="{{ subscriptions_url }}">profile</a>)\r
{% endblocktrans %}\r
{% else %}\r
<p>{% trans "Once you sign in you will be able to subscribe for any updates here" %}</p>\r
{% endif %}\r
+<strong>{% trans "By RSS" %}:</strong>\r
+<p>\r
+ <a class="feed-icon" style="background-image:url('{% media "media/images/feed-icon-small.png" %}');"\r
+ href="{{ question.get_absolute_url }}?type=rss" title="{% trans "subscribe to answers" %}"></a>\r
+ {% trans "Answers" %}\r
+</p>\r
+<p>\r
+ <a class="feed-icon" style="background-image:url('{% media "media/images/feed-icon-small.png" %}');"\r
+ href="{{ question.get_absolute_url }}?type=rss&comments=yes" title="{% trans "subscribe to comments and answers" %}"></a>\r
+ {% trans "Answers and Comments" %}\r
+</p>\r
+{% endspaceless %}\r