Mercurial > public > sg101
view gpp/templates/messages/base.html @ 150:b43e1288ff80
Fix #33; use $.ajax instead of $.post so we can handle errors. Also, for some reason comparing objects in a template doesn't work now. Have to compare id fields.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 17 Dec 2009 04:14:16 +0000 |
parents | dbd703f7d63a |
children | daa2916f5b34 |
line wrap: on
line source
{% extends 'base.html' %} {% block custom_css %} <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" /> <link rel="stylesheet" type="text/css" href="{{ MEDIA_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 %}