annotate gpp/templates/news/base.html @ 230:5ee9422ce83c
Fix lack of trailing slash on the individual forum RSS feed links. For some reason this was causing a bizarre middleware error 'request object has not attribute session'.
author |
Brian Neal <bgneal@gmail.com> |
date |
Tue, 13 Jul 2010 03:51:37 +0000 |
parents |
6a5549c2efb5 |
children |
1246a4f1ab4f |
rev |
line source |
gremmie@1
|
1 {% extends 'base.html' %}
|
gremmie@1
|
2 {% block custom_head %}
|
bgneal@176
|
3 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url feeds-news %}" />
|
gremmie@1
|
4 {% endblock %}
|
gremmie@1
|
5 {% block custom_css %}
|
gremmie@1
|
6 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" />
|
gremmie@1
|
7 {% block news_css %}{% endblock %}
|
gremmie@1
|
8 {% endblock %}
|
gremmie@1
|
9 {% block content %}
|
bgneal@176
|
10 <h2>SurfGuitar101 News & Articles <a href="{% url feeds-news %}"><img src="{{ MEDIA_URL }}icons/feed.png" alt="News Feed" title="News Feed" /></a></h2>
|
gremmie@1
|
11 {% if search_form %}
|
gremmie@1
|
12 <div class="news-search">
|
bgneal@194
|
13 <form action="{% url news-search_page page=1 %}" method="post">{% csrf_token %}
|
gremmie@1
|
14 <p>{{ search_form.text }} {{ search_form.category }} <input type="submit" value="Search" /></p>
|
gremmie@1
|
15 </form>
|
gremmie@1
|
16 </div>
|
gremmie@1
|
17 {% endif %}
|
gremmie@1
|
18 <ul class="app-menu">
|
gremmie@1
|
19 <li><a href="{% url news-index_page page=1 %}">News Main</a></li>
|
gremmie@1
|
20 <li><a href="{% url news-archive_index %}">Archive</a></li>
|
gremmie@1
|
21 <li><a href="{% url news.views.category_index %}">Categories</a></li>
|
gremmie@1
|
22 <li><a href="{% url news-tag_index %}">Tags</a></li>
|
gremmie@1
|
23 <li><a href="{% url news.views.submit %}">Submit News</a></li>
|
gremmie@1
|
24 </ul>
|
gremmie@1
|
25 {% block news_content %}
|
gremmie@1
|
26 {% endblock %}
|
gremmie@1
|
27 {% endblock %}
|