annotate gpp/templates/news/base.html @ 505:a5d11471d031

Refactor the logic in the rate limiter decorator. Check to see if the request was ajax, as the ajax view always returns 200. Have to decode the JSON response to see if an error occurred or not.
author Brian Neal <bgneal@gmail.com>
date Sat, 03 Dec 2011 19:13:38 +0000
parents 88b2b9cb8c1f
children
rev   line source
gremmie@1 1 {% extends 'base.html' %}
bgneal@310 2 {% load url from future %}
gremmie@1 3 {% block custom_head %}
bgneal@310 4 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url 'feeds-news' %}" />
gremmie@1 5 {% endblock %}
gremmie@1 6 {% block custom_css %}
bgneal@312 7 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/news.css" />
gremmie@1 8 {% block news_css %}{% endblock %}
gremmie@1 9 {% endblock %}
gremmie@1 10 {% block content %}
bgneal@312 11 <h2>SurfGuitar101 News &amp; Articles <a href="{% url 'feeds-news' %}"><img src="{{ STATIC_URL }}icons/feed.png" alt="News Feed" title="News Feed" /></a></h2>
bgneal@240 12
gremmie@1 13 <ul class="app-menu">
bgneal@310 14 <li><a href="{% url 'news-index_page' %}">News Main</a></li>
bgneal@310 15 <li><a href="{% url 'news-archive_index' %}">Archive</a></li>
bgneal@310 16 <li><a href="{% url 'news-category_index' %}">Categories</a></li>
bgneal@310 17 <li><a href="{% url 'news-tag_index' %}">Tags</a></li>
bgneal@310 18 <li><a href="{% url 'news-submit' %}">Submit News</a></li>
gremmie@1 19 </ul>
gremmie@1 20 {% block news_content %}
gremmie@1 21 {% endblock %}
gremmie@1 22 {% endblock %}