]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/subscription_status.html
be able to control right navigation visibility in the administration interface
[osqa.git] / forum / skins / default / templates / subscription_status.html
index 46ad235beaeb75728646588cb392afaf18c3781f..49ec02f7ec10ed365824d255d222bee0afadc7df 100644 (file)
@@ -14,7 +14,7 @@
             <p>{% trans "You are not subscribed to this question." %}</p>\r
         {% endif %}\r
     </div>\r
-    <p><a class="ajax-command sidebar_button subscription_switch" href="{% url subscribe id=question.id %}">\r
+    <p><a class="ajax-command sidebar_button subscription_switch" href="{% url subscribe_simple id=question.id %}">\r
         {% if subscription %}\r
             {% trans "unsubscribe me" %}\r
         {% else %}\r
@@ -22,8 +22,7 @@
         {% endif %}\r
     </a></p>\r
     <p>\r
-        {% url user_subscriptions id=request.user.id,slug=request.user.username|slugify as subscriptions_url %}\r
-        {% blocktrans %}\r
+        {% blocktrans with request.user.get_user_subscriptions_url as subscriptions_url %}\r
             (you can adjust your notification settings on your <a href="{{ subscriptions_url }}">profile</a>)\r
         {% endblocktrans %}\r
     </p>\r