view gpp/templates/messages/base.html @ 368:b76af55aafe4

For #176; cache the output of the latest poll block template tag.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Mar 2011 21:00:00 +0000
parents 88b2b9cb8c1f
children 8df6e9edac22
line wrap: on
line source
{% extends 'base.html' %}
{% load url from future %}
{% block custom_css %}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/tab-nav.css" />
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/messages.css" />
{% endblock %}
{% block content %}
<h2>Your Private Messsages</h2>
<ul class="tab-nav">
<li><a {% block compose-class %}{% endblock %} 
   href="{% url 'messages-compose' %}">Compose</a></li>
<li><a {% block inbox-class %}{% endblock %} 
   href="{% url 'messages-inbox' %}">Inbox</a></li>
<li><a {% block outbox-class %}{% endblock %} 
   href="{% url 'messages-outbox' %}">Outbox</a></li>
<li><a {% block trash-class %}{% endblock %} 
   href="{% url 'messages-trash' %}">Trash</a></li>
<li><a {% block options-class %}{% endblock %} 
   href="{% url 'messages-options' %}">Options</a></li>
</ul>
{% block messages_content %}
{% endblock %}
<br />
{% endblock %}