Mercurial > public > sg101
view gpp/templates/downloads/navigation.html @ 310:daa2916f5b34
Fixing 145; New url tag behavior (forwards compatibility) in Django 1.3.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 20 Jan 2011 04:03:48 +0000 |
parents | 27bee3ac85e6 |
children | 88b2b9cb8c1f |
line wrap: on
line source
{% load url from future %} <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>