]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/question_list/subscription_item.html
now superusers and staff can unsubscribe users subscription.
[osqa.git] / forum / skins / default / templates / question_list / subscription_item.html
index 2087392db4052f44d3cdeaec74bc2d09203cff09..3f1f688f9870235648c65ecffdbbe769fc5c9d6c 100644 (file)
@@ -1,9 +1,10 @@
 {% load i18n humanize extra_filters extra_tags user_tags %}
 <div class="subscription_summary">
-    <div style="height:100%"><a class="sidebar_button subscription_unsubscribe_button" href="{% url subscribe id=subscription.question.id %}">
+    <div style="height:100%"><a class="sidebar_button subscription_unsubscribe_button" href="{% url subscribe id=subscription.question.id user=subscription.user.id %}">
         {% trans "Unsubscribe" %}
     </a></div>
 
     <div class="subscription_title"><a title="{{ question.summary }}" href="{{ question.get_absolute_url }}">{{question.headline}}</a></div>
     <div class="subscription_details"><span class="relativetime" title="{{subscription.last_view}}">{% trans "Last checked" %} {% diff_date subscription.last_view %}</span></div>
-</div>
\ No newline at end of file
+</div>
+