Mercurial > public > sg101
view gpp/templates/messages/base.html @ 286:72fd300685d5
For #95. You can now make posts with no text in the body if you have attachments. And now if you create a new topic with an attachment, and the POST fails (say you forgot the topic title), we will now re-attach attachments. Also fixed a bug in the smiley code that would arise if it was asked to markup an empty string.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 23 Oct 2010 20:19:46 +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 %}