annotate gpp/templates/forums/manage_subscriptions.html @ 197:2baadae33f2e

Got autocomplete working for the member search. Updated django and ran into a bug where url tags with comma separated kwargs starting consuming tons of CPU throughput. The work-around is to cut over to using spaces between arguments. This is now allowed to be consistent with other tags. Did some query optimization for the news app.
author Brian Neal <bgneal@gmail.com>
date Sat, 10 Apr 2010 04:32:24 +0000
parents 6a5549c2efb5
children
rev   line source
bgneal@181 1 {% extends 'base.html' %}
bgneal@181 2 {% block title %}Forums: Topic Subscriptions{% endblock %}
bgneal@181 3 {% block content %}
bgneal@181 4 <h2>Forums: Topic Subscriptions</h2>
bgneal@181 5
bgneal@181 6 <h3>
bgneal@181 7 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo; Topic Subscriptions
bgneal@181 8 </h3>
bgneal@181 9 <p>The forum topics you are currently subscribed to are listed below.</p>
bgneal@181 10 {% include 'forums/pagination.html' %}
bgneal@194 11 <form action="." method="post">{% csrf_token %}
bgneal@181 12 <table class="forum-topic-table">
bgneal@181 13 <thead>
bgneal@181 14 <tr>
bgneal@181 15 <th>Forum</th>
bgneal@181 16 <th>Topic</th>
bgneal@181 17 <th>Select</th>
bgneal@181 18 </tr>
bgneal@181 19 </thead>
bgneal@181 20 <tbody>
bgneal@181 21 {% for topic in page.object_list %}
bgneal@181 22 <tr>
bgneal@181 23 <td><a href="{{ topic.forum.get_absolute_url }}">{{ topic.forum.name }}</a></td>
bgneal@181 24 <td><a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a></td>
bgneal@181 25 <td><input type="checkbox" name="delete_ids" value="{{ topic.id }}" /></td>
bgneal@181 26 </tr>
bgneal@181 27 {% empty %}
bgneal@181 28 <tr><td colspan="3"><em>No Topic Subscriptions</em></td></tr>
bgneal@181 29 {% endfor %}
bgneal@181 30 </tbody>
bgneal@181 31 </table>
bgneal@181 32 {% include 'forums/pagination.html' %}
bgneal@181 33 {% if page.object_list %}
bgneal@181 34 <input type="hidden" name="page" value="{{ page.number }}" />
bgneal@181 35 <input type="submit" name="delete_selected" value="Delete Selected" /> &bull;
bgneal@181 36 <input type="submit" name="delete_all" value="Delete All" />
bgneal@181 37 {% endif %}
bgneal@181 38 </form>
bgneal@181 39 {% endblock %}