annotate 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
rev   line source
gremmie@1 1 <form id="downloads-search" action="{% url downloads-search page=1 %}" method="post">
gremmie@1 2 <p>{{ search_form.text }} <input type="submit" value="Search" /></p>
gremmie@1 3 </form>
gremmie@1 4 <ul class="app-menu">
gremmie@1 5 <li><a href="{% url downloads-index %}">Categories</a></li>
gremmie@1 6 <li><a href="{% url downloads-new %}">New</a></li>
gremmie@1 7 <li><a href="{% url downloads-popular %}">Popular</a></li>
gremmie@1 8 <li><a href="{% url downloads-rating %}">Highest Rated</a></li>
gremmie@1 9 <li><a href="{% url downloads-random %}">Random</a></li>
gremmie@1 10 <li><a href="{% url downloads-add %}">Add</a></li>
gremmie@1 11 </ul>