view 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
line wrap: on
line source
{% extends 'base.html' %}
{% load url from future %}
{% block custom_head %}
<link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url 'feeds-news' %}" />
{% endblock %}
{% block custom_css %}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/news.css" />
{% block news_css %}{% endblock %}
{% endblock %}
{% block content %}
<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>

<ul class="app-menu">
<li><a href="{% url 'news-index_page' %}">News Main</a></li>
<li><a href="{% url 'news-archive_index' %}">Archive</a></li>
<li><a href="{% url 'news-category_index' %}">Categories</a></li>
<li><a href="{% url 'news-tag_index' %}">Tags</a></li>
<li><a href="{% url 'news-submit' %}">Submit News</a></li>
</ul>
{% block news_content %}
{% endblock %}
{% endblock %}