Mercurial > public > sg101
annotate 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 |
rev | line source |
---|---|
gremmie@1 | 1 {% extends 'base.html' %} |
bgneal@310 | 2 {% load url from future %} |
gremmie@1 | 3 {% block custom_css %} |
bgneal@312 | 4 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/tab-nav.css" /> |
bgneal@312 | 5 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/messages.css" /> |
gremmie@1 | 6 {% endblock %} |
gremmie@1 | 7 {% block content %} |
gremmie@1 | 8 <h2>Your Private Messsages</h2> |
gremmie@1 | 9 <ul class="tab-nav"> |
gremmie@1 | 10 <li><a {% block compose-class %}{% endblock %} |
bgneal@310 | 11 href="{% url 'messages-compose' %}">Compose</a></li> |
gremmie@1 | 12 <li><a {% block inbox-class %}{% endblock %} |
bgneal@310 | 13 href="{% url 'messages-inbox' %}">Inbox</a></li> |
gremmie@1 | 14 <li><a {% block outbox-class %}{% endblock %} |
bgneal@310 | 15 href="{% url 'messages-outbox' %}">Outbox</a></li> |
gremmie@1 | 16 <li><a {% block trash-class %}{% endblock %} |
bgneal@310 | 17 href="{% url 'messages-trash' %}">Trash</a></li> |
gremmie@1 | 18 <li><a {% block options-class %}{% endblock %} |
bgneal@310 | 19 href="{% url 'messages-options' %}">Options</a></li> |
gremmie@1 | 20 </ul> |
gremmie@1 | 21 {% block messages_content %} |
gremmie@1 | 22 {% endblock %} |
gremmie@1 | 23 <br /> |
gremmie@1 | 24 {% endblock %} |