Mercurial > public > sg101
comparison gpp/templates/base.html @ 219:26ee684c2033
Initial commit of Haystack search integration. See #51.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 05 Jun 2010 20:46:52 +0000 |
parents | 136719cbcb3c |
children | 1246a4f1ab4f |
comparison
equal
deleted
inserted
replaced
218:6dbb8faef085 | 219:26ee684c2033 |
---|---|
39 <ul> | 39 <ul> |
40 {% if user.is_authenticated %} | 40 {% if user.is_authenticated %} |
41 <li>Welcome, <a href="{% url bio-me %}">{{ user.username }}</a></li> | 41 <li>Welcome, <a href="{% url bio-me %}">{{ user.username }}</a></li> |
42 <li><a href="{% url forums-index %}">Forums</a></li> | 42 <li><a href="{% url forums-index %}">Forums</a></li> |
43 <li>{% unread_messages user %}</li> | 43 <li>{% unread_messages user %}</li> |
44 <li><a href="{% url haystack_search %}">Search</a></li> | |
44 <li><a href="{% url accounts-logout %}">Logout</a></li> | 45 <li><a href="{% url accounts-logout %}">Logout</a></li> |
45 {% else %} | 46 {% else %} |
46 <li><a href="{% url accounts-login %}">Login</a></li> | 47 <li><a href="{% url accounts-login %}">Login</a></li> |
47 <li><a href="{% url accounts-register %}">Register</a></li> | 48 <li><a href="{% url accounts-register %}">Register</a></li> |
48 {% endif %} | 49 {% endif %} |
64 <li><a href="{% url podcast-main %}">Podcast</a></li> | 65 <li><a href="{% url podcast-main %}">Podcast</a></li> |
65 <li><a href="{% url polls-main %}">Polls</a></li> | 66 <li><a href="{% url polls-main %}">Polls</a></li> |
66 <li><a href="{% url potd-view %}">Photo of the Day</a></li> | 67 <li><a href="{% url potd-view %}">Photo of the Day</a></li> |
67 <li><a href="{% url weblinks-main %}">Links</a></li> | 68 <li><a href="{% url weblinks-main %}">Links</a></li> |
68 <li><a href="{% url downloads-index %}">Downloads</a></li> | 69 <li><a href="{% url downloads-index %}">Downloads</a></li> |
70 <li><a href="{% url haystack_search %}">Search</a></li> | |
69 </ul> | 71 </ul> |
70 {% cache 300 potd_block %} | 72 {% cache 300 potd_block %} |
71 {% photo_of_the_day %} | 73 {% photo_of_the_day %} |
72 {% endcache %} | 74 {% endcache %} |
73 {% shoutbox %} | 75 {% shoutbox %} |