annotate gpp/templates/downloads/navigation.html @ 192:341759e1cda1
Implementing #67: use a denormalized count field on download categories to reduce database queries.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sat, 03 Apr 2010 01:10:00 +0000 |
parents |
db40c2754580 |
children |
6a5549c2efb5 |
rev |
line source |
bgneal@26
|
1 <div class="app-logo">
|
bgneal@26
|
2 <img src="{{ MEDIA_URL }}icons/downloads-logo.jpg" alt="Downloads Logo" title="Downloads" />
|
bgneal@26
|
3 </div>
|
gremmie@1
|
4 <form id="downloads-search" action="{% url downloads-search page=1 %}" method="post">
|
gremmie@1
|
5 <p>{{ search_form.text }} <input type="submit" value="Search" /></p>
|
gremmie@1
|
6 </form>
|
gremmie@1
|
7 <ul class="app-menu">
|
gremmie@1
|
8 <li><a href="{% url downloads-index %}">Categories</a></li>
|
gremmie@1
|
9 <li><a href="{% url downloads-new %}">New</a></li>
|
gremmie@1
|
10 <li><a href="{% url downloads-popular %}">Popular</a></li>
|
gremmie@1
|
11 <li><a href="{% url downloads-rating %}">Highest Rated</a></li>
|
gremmie@1
|
12 <li><a href="{% url downloads-random %}">Random</a></li>
|
gremmie@1
|
13 <li><a href="{% url downloads-add %}">Add</a></li>
|
gremmie@1
|
14 </ul>
|