view gpp/templates/downloads/navigation.html @ 235:d302c498560e

Fix problem when deleting multiple topics from a forum in bulk. We getting a list of topics from the database, then deleting each topic. But after you delete a topic, the forum.last_post on the remaining non-deleted topics can be stale. This was causing a weird DoesNotExist. Now just get the topics one at a time from the database.
author Brian Neal <bgneal@gmail.com>
date Thu, 26 Aug 2010 04:01:58 +0000
parents 2022c0409296
children 27bee3ac85e6
line wrap: on
line source
<div class="app-logo">
<img src="{{ MEDIA_URL }}icons/downloads-logo.jpg" alt="Downloads Logo" title="Downloads" />
</div>
<form id="downloads-search" action="{% url downloads-search page=1 %}" method="post">{% csrf_token %}
    <p>{{ search_form.text }} <input type="submit" value="Search" /></p>
</form>
<ul class="app-menu">
    <li><a href="{% url downloads-index %}">Categories</a></li>
    <li><a href="{% url downloads-new %}">New</a></li>
    <li><a href="{% url downloads-popular %}">Popular</a></li>
    <li><a href="{% url downloads-rating %}">Highest Rated</a></li>
    <li><a href="{% url downloads-add %}">Add</a></li>
</ul>
<center>
   <form action="{% url downloads-random %}" method="post">{% csrf_token %}
      <input type="submit" title="Download a file at random" value="Surprise Me!" />
   </form>
</center>