Mercurial > public > sg101
view gpp/templates/messages/base.html @ 197:2baadae33f2e
Got autocomplete working for the member search. Updated django and ran into a bug where url tags with comma separated kwargs starting consuming tons of CPU throughput. The work-around is to cut over to using spaces between arguments. This is now allowed to be consistent with other tags. Did some query optimization for the news app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 10 Apr 2010 04:32:24 +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 %}