annotate gpp/templates/messages/options.html @ 301:ee451ad46af1

Fixing #140; limit topic notification emails to at most 1 per day, or more if the user visits the topic.
author Brian Neal <bgneal@gmail.com>
date Thu, 13 Jan 2011 03:27:42 +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 %}