comparison gpp/templates/messages/base.html @ 310:daa2916f5b34

Fixing 145; New url tag behavior (forwards compatibility) in Django 1.3.
author Brian Neal <bgneal@gmail.com>
date Thu, 20 Jan 2011 04:03:48 +0000
parents dbd703f7d63a
children 88b2b9cb8c1f
comparison
equal deleted inserted replaced
309:8a0bae48b6ca 310:daa2916f5b34
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load url from future %}
2 {% block custom_css %} 3 {% block custom_css %}
3 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" /> 4 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" />
4 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/messages.css" /> 5 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/messages.css" />
5 {% endblock %} 6 {% endblock %}
6 {% block content %} 7 {% block content %}
7 <h2>Your Private Messsages</h2> 8 <h2>Your Private Messsages</h2>
8 <ul class="tab-nav"> 9 <ul class="tab-nav">
9 <li><a {% block compose-class %}{% endblock %} 10 <li><a {% block compose-class %}{% endblock %}
10 href="{% url messages-compose %}">Compose</a></li> 11 href="{% url 'messages-compose' %}">Compose</a></li>
11 <li><a {% block inbox-class %}{% endblock %} 12 <li><a {% block inbox-class %}{% endblock %}
12 href="{% url messages-inbox %}">Inbox</a></li> 13 href="{% url 'messages-inbox' %}">Inbox</a></li>
13 <li><a {% block outbox-class %}{% endblock %} 14 <li><a {% block outbox-class %}{% endblock %}
14 href="{% url messages-outbox %}">Outbox</a></li> 15 href="{% url 'messages-outbox' %}">Outbox</a></li>
15 <li><a {% block trash-class %}{% endblock %} 16 <li><a {% block trash-class %}{% endblock %}
16 href="{% url messages-trash %}">Trash</a></li> 17 href="{% url 'messages-trash' %}">Trash</a></li>
17 <li><a {% block options-class %}{% endblock %} 18 <li><a {% block options-class %}{% endblock %}
18 href="{% url messages-options %}">Options</a></li> 19 href="{% url 'messages-options' %}">Options</a></li>
19 </ul> 20 </ul>
20 {% block messages_content %} 21 {% block messages_content %}
21 {% endblock %} 22 {% endblock %}
22 <br /> 23 <br />
23 {% endblock %} 24 {% endblock %}