view gpp/templates/weblinks/navigation.html @ 23:a5f27f25fa52

Added a latest_downloads template tag. Made the comments view the details view for a download. Changed get_absolute_url to point to this new view.
author Brian Neal <bgneal@gmail.com>
date Sun, 19 Apr 2009 21:16:59 +0000
parents 884839ddbfde
children db40c2754580
line wrap: on
line source
<div class="weblinks-search">
<form action="{% url weblinks-search page=1 %}" method="post">
   <p>{{ search_form.text }} <input type="submit" value="Search" /></p>
</form>
</div>

<ul class="app-menu">
<li><a href="{% url weblinks.views.link_index %}">Categories</a></li>
<li><a href="{% url weblinks.views.new_links %}">New</a></li>
<li><a href="{% url weblinks.views.popular_links %}">Popular</a></li>
<li><a href="{% url weblinks.views.random_link %}" target="_blank">Random</a></li>
{% if user.is_authenticated %}
<li><a href="{% url weblinks.views.add_link %}">Add</a></li>
{% endif %}
</ul>