comparison gpp/templates/messages/compose_tab.html @ 429:d0f0800eef0c

Making the jquery tabbed version of the messages app the current version and removing the old. Also figured out how to dynamically update the base template's count of unread messages when messages are read.
author Brian Neal <bgneal@gmail.com>
date Tue, 03 May 2011 02:56:58 +0000
parents 76ba9478ebbd
children 9df368d9775d
comparison
equal deleted inserted replaced
428:77b3b01843b5 429:d0f0800eef0c
7 {% for msg in messages %} 7 {% for msg in messages %}
8 <li{% if msg.tags %} class="{{ msg.tags }}"{% endif %}>{{ msg }}</li> 8 <li{% if msg.tags %} class="{{ msg.tags }}"{% endif %}>{{ msg }}</li>
9 {% endfor %} 9 {% endfor %}
10 </ul> 10 </ul>
11 {% endif %} 11 {% endif %}
12 <form action="{% url 'messages-beta_compose' %}" method="post">{% csrf_token %} 12 <form action="{% url 'messages-compose' %}" method="post">{% csrf_token %}
13 <table> 13 <table>
14 {{ compose_form.as_table }} 14 {{ compose_form.as_table }}
15 <tr> 15 <tr>
16 <td>&nbsp;</td> 16 <td>&nbsp;</td>
17 <td> 17 <td>