view gpp/templates/downloads/navigation.html @ 260:3a4bbf9c2cce

Fixing #107. Apparently some signal handlers were getting connected twice (double import?) and thus saving a forum post would cause 2 email notifications to go out to the post topic's subscribers. Use the dispatch_uid parameter in the connect call to work around this issue.
author Brian Neal <bgneal@gmail.com>
date Wed, 22 Sep 2010 00:24:59 +0000
parents 27bee3ac85e6
children daa2916f5b34
line wrap: on
line source
<div class="app-logo">
<img src="{{ MEDIA_URL }}icons/downloads-logo.jpg" alt="Downloads Logo" title="Downloads" />
</div>
<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>