annotate 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 |
rev |
line source |
bgneal@21
|
1 <div class="weblinks-search">
|
bgneal@21
|
2 <form action="{% url weblinks-search page=1 %}" method="post">
|
bgneal@21
|
3 <p>{{ search_form.text }} <input type="submit" value="Search" /></p>
|
bgneal@21
|
4 </form>
|
bgneal@21
|
5 </div>
|
bgneal@21
|
6
|
bgneal@21
|
7 <ul class="app-menu">
|
bgneal@21
|
8 <li><a href="{% url weblinks.views.link_index %}">Categories</a></li>
|
bgneal@21
|
9 <li><a href="{% url weblinks.views.new_links %}">New</a></li>
|
bgneal@21
|
10 <li><a href="{% url weblinks.views.popular_links %}">Popular</a></li>
|
bgneal@21
|
11 <li><a href="{% url weblinks.views.random_link %}" target="_blank">Random</a></li>
|
bgneal@21
|
12 {% if user.is_authenticated %}
|
bgneal@21
|
13 <li><a href="{% url weblinks.views.add_link %}">Add</a></li>
|
bgneal@21
|
14 {% endif %}
|
bgneal@21
|
15 </ul>
|