Mercurial > public > sg101
annotate gpp/templates/messages/tabbed_base.html @ 516:beda97542da8
For #194, add a celery beat task for Django & forum cleanup.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 15 Dec 2011 00:59:32 +0000 |
parents | d0f0800eef0c |
children |
rev | line source |
---|---|
bgneal@425 | 1 {% extends 'base.html' %} |
bgneal@425 | 2 {% load url from future %} |
bgneal@425 | 3 {% load script_tags %} |
bgneal@425 | 4 {% block custom_css %} |
bgneal@425 | 5 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/messages.css" /> |
bgneal@425 | 6 {% endblock %} |
bgneal@425 | 7 {% block custom_js %} |
bgneal@425 | 8 {% script_tags 'jquery-ui' %} |
bgneal@425 | 9 <script type="text/javascript"> |
bgneal@425 | 10 //<![CDATA[ |
bgneal@425 | 11 var initialTab = {{ tab }}; |
bgneal@425 | 12 var username = "{{ request.user.username }}"; |
bgneal@428 | 13 {% if receiver %} |
bgneal@428 | 14 var receiver = "{{ receiver }}"; |
bgneal@428 | 15 {% else %} |
bgneal@428 | 16 var receiver = ""; |
bgneal@428 | 17 {% endif %} |
bgneal@429 | 18 var unreadMsgCount = {{ unread_count }}; |
bgneal@425 | 19 //]]> |
bgneal@425 | 20 </script> |
bgneal@425 | 21 <script type="text/javascript" src="{{ STATIC_URL }}js/tabbed_messages.js"></script> |
bgneal@425 | 22 {% endblock %} |
bgneal@425 | 23 {% block content %} |
bgneal@429 | 24 <h2>Your Private Messages</h2> |
bgneal@425 | 25 |
bgneal@425 | 26 <div id="tabs"> |
bgneal@425 | 27 <ul> |
bgneal@429 | 28 <li><a href="{% url 'messages-inbox' %}">Inbox</a></li> |
bgneal@429 | 29 <li><a href="{% url 'messages-compose' %}">Compose</a></li> |
bgneal@429 | 30 <li><a href="{% url 'messages-outbox' %}">Outbox</a></li> |
bgneal@429 | 31 <li><a href="{% url 'messages-trash' %}">Trash</a></li> |
bgneal@429 | 32 <li><a href="{% url 'messages-options' %}">Options</a></li> |
bgneal@425 | 33 </ul> |
bgneal@425 | 34 </div> |
bgneal@425 | 35 |
bgneal@425 | 36 <div id="msgDialog"></div> |
bgneal@425 | 37 {% endblock %} |