annotate gpp/templates/messages/options.html @ 260:3a4bbf9c2cce

Fixing #107. Apparently some signal handlers were getting connected twice (double import?) and thus saving a forum post would cause 2 email notifications to go out to the post topic's subscribers. Use the dispatch_uid parameter in the connect call to work around this issue.
author Brian Neal <bgneal@gmail.com>
date Wed, 22 Sep 2010 00:24:59 +0000
parents 6a5549c2efb5
children
rev   line source
gremmie@1 1 {% extends 'messages/base.html' %}
gremmie@1 2 {% block title %}Messages: Options{% endblock %}
gremmie@1 3 {% block options-class %}active{% endblock %}
gremmie@1 4 {% block messages_content %}
gremmie@1 5 <h3>Private Message Options</h3>
gremmie@1 6 {% if messages %}
gremmie@1 7 <ul class="user-messages">
gremmie@1 8 {% for msg in messages %}
bgneal@178 9 <li{% if msg.tags %} class="{{ msg.tags }}"{% endif %}>{{ msg }}</li>
gremmie@1 10 {% endfor %}
gremmie@1 11 </ul>
gremmie@1 12 {% endif %}
bgneal@194 13 <form action="." method="post">{% csrf_token %}
gremmie@1 14 <table>
gremmie@1 15 {{ form.as_table }}
gremmie@1 16 <tr>
gremmie@1 17 <td>&nbsp;</td>
gremmie@1 18 <td>
gremmie@1 19 <input type="submit" name="submit_button" value="Save" />
gremmie@1 20 <input type="submit" name="submit_button" value="Cancel" />
gremmie@1 21 </td>
gremmie@1 22 </tr>
gremmie@1 23 </table>
gremmie@1 24 </form>
gremmie@1 25 <br />
gremmie@1 26 {% endblock %}