comparison gpp/templates/weblinks/navigation.html @ 242:7e8d2dda99e3

For #93: fix url scheme for weblinks.
author Brian Neal <bgneal@gmail.com>
date Wed, 15 Sep 2010 03:24:01 +0000
parents 6a5549c2efb5
children daa2916f5b34
comparison
equal deleted inserted replaced
241:27bee3ac85e6 242:7e8d2dda99e3
1 <div class="app-logo"> 1 <div class="app-logo">
2 <img src="{{ MEDIA_URL }}icons/weblinks-logo.jpg" alt="Links Logo" title="Links" /> 2 <img src="{{ MEDIA_URL }}icons/weblinks-logo.jpg" alt="Links Logo" title="Links" />
3 </div> 3 </div>
4 <div class="weblinks-search">
5 <form action="{% url weblinks-search page=1 %}" method="post">{% csrf_token %}
6 <p>{{ search_form.text }} <input type="submit" value="Search" /></p>
7 </form>
8 </div>
9
10 <ul class="app-menu"> 4 <ul class="app-menu">
11 <li><a href="{% url weblinks.views.link_index %}">Categories</a></li> 5 <li><a href="{% url weblinks-main %}">Categories</a></li>
12 <li><a href="{% url weblinks.views.new_links %}">New</a></li> 6 <li><a href="{% url weblinks-new_links %}">New</a></li>
13 <li><a href="{% url weblinks.views.popular_links %}">Popular</a></li> 7 <li><a href="{% url weblinks-popular_links %}">Popular</a></li>
14 {% if user.is_authenticated %} 8 {% if user.is_authenticated %}
15 <li><a href="{% url weblinks.views.add_link %}">Add Link</a></li> 9 <li><a href="{% url weblinks-add_link %}">Add Link</a></li>
16 {% endif %} 10 {% endif %}
17 </ul> 11 </ul>
18 <center> 12 <center>
19 <form action="{% url weblinks.views.random_link %}" method="post">{% csrf_token %} 13 <form action="{% url weblinks-random_link %}" method="post">{% csrf_token %}
20 <input type="submit" value="Visit a Random Link" /> 14 <input type="submit" value="Visit a Random Link" />
21 </form> 15 </form>
22 </center> 16 </center>