view gpp/templates/downloads/navigation.html @ 20:c0d0779b266f

Created a template tag for the latest weblinks: latest_weblinks. This necessitated adding a get_absolute_url function for the Link model along with a new view for it.
author Brian Neal <bgneal@gmail.com>
date Sun, 19 Apr 2009 20:41:37 +0000
parents dbd703f7d63a
children db40c2754580
line wrap: on
line source
<form id="downloads-search" action="{% url downloads-search page=1 %}" method="post">
    <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-random %}">Random</a></li>
    <li><a href="{% url downloads-add %}">Add</a></li>
</ul>