]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/users/subscriptions_management.html
the variable needs to be defined with var in front of it, because otherwise it is...
[osqa.git] / forum / skins / default / templates / users / subscriptions_management.html
1 {% load i18n %}
2 {% load question_list_tags %}
3
4 <div id="subscription_list" align="left">
5     <h2>
6         {% trans "Manage your current subscriptions" %}
7         <span style="font-size:11px">
8             {% if auto %}
9                 <a href='{% url user_subscriptions id=view_user.id slug=view_user.username|slugify %}?auto=False&tab=manage'>{% trans "don't show auto-subscribe" %}</a>
10             {% else %}
11                 <a href='{% url user_subscriptions id=view_user.id slug=view_user.username|slugify %}?auto=True&tab=manage'>{% trans "show auto-subscribe" %}</a>
12             {% endif %}
13         </span>
14     </h2>
15
16     {% for subscription in subscriptions.paginator.page %}
17         {% subscription_list_item subscription subscription.question %}
18     {% endfor %}
19
20     <div class="pager">{{ subscriptions.paginator.page_numbers }}</div>
21 </div>
22
23 <br />
24 <br />
25
26 <!-- end user_subscriptions.html -->