comparison gpp/templates/news/base.html @ 310:daa2916f5b34

Fixing 145; New url tag behavior (forwards compatibility) in Django 1.3.
author Brian Neal <bgneal@gmail.com>
date Thu, 20 Jan 2011 04:03:48 +0000
parents 1246a4f1ab4f
children 88b2b9cb8c1f
comparison
equal deleted inserted replaced
309:8a0bae48b6ca 310:daa2916f5b34
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load url from future %}
2 {% block custom_head %} 3 {% block custom_head %}
3 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url feeds-news %}" /> 4 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url 'feeds-news' %}" />
4 {% endblock %} 5 {% endblock %}
5 {% block custom_css %} 6 {% block custom_css %}
6 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" /> 7 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" />
7 {% block news_css %}{% endblock %} 8 {% block news_css %}{% endblock %}
8 {% endblock %} 9 {% endblock %}
9 {% block content %} 10 {% block content %}
10 <h2>SurfGuitar101 News &amp; Articles <a href="{% url feeds-news %}"><img src="{{ MEDIA_URL }}icons/feed.png" alt="News Feed" title="News Feed" /></a></h2> 11 <h2>SurfGuitar101 News &amp; Articles <a href="{% url 'feeds-news' %}"><img src="{{ MEDIA_URL }}icons/feed.png" alt="News Feed" title="News Feed" /></a></h2>
11 12
12 <ul class="app-menu"> 13 <ul class="app-menu">
13 <li><a href="{% url news-index_page %}">News Main</a></li> 14 <li><a href="{% url 'news-index_page' %}">News Main</a></li>
14 <li><a href="{% url news-archive_index %}">Archive</a></li> 15 <li><a href="{% url 'news-archive_index' %}">Archive</a></li>
15 <li><a href="{% url news-category_index %}">Categories</a></li> 16 <li><a href="{% url 'news-category_index' %}">Categories</a></li>
16 <li><a href="{% url news-tag_index %}">Tags</a></li> 17 <li><a href="{% url 'news-tag_index' %}">Tags</a></li>
17 <li><a href="{% url news-submit %}">Submit News</a></li> 18 <li><a href="{% url 'news-submit' %}">Submit News</a></li>
18 </ul> 19 </ul>
19 {% block news_content %} 20 {% block news_content %}
20 {% endblock %} 21 {% endblock %}
21 {% endblock %} 22 {% endblock %}