Mercurial > public > sg101
annotate gpp/templates/messages/options.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 | 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> </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 %} |