summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-12-13 15:07:43 +0100
committerAurélien Bompard <aurelien@bompard.org>2012-12-13 15:07:43 +0100
commiteab3d767b65982e1e04c5538c0d2827f26230fca (patch)
tree7e881cf8ec8ba8962dda19e135442d621262c55c /hyperkitty/templates
parenta9d22e8e9cbe51ae353b4e2f68ff635e9cf6d844 (diff)
downloadhyperkitty-eab3d767b65982e1e04c5538c0d2827f26230fca.tar.gz
hyperkitty-eab3d767b65982e1e04c5538c0d2827f26230fca.tar.xz
hyperkitty-eab3d767b65982e1e04c5538c0d2827f26230fca.zip
Improve the quoting style
Refs: #24
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/messages/message.html2
-rw-r--r--hyperkitty/templates/register.html2
-rw-r--r--hyperkitty/templates/thread.html4
3 files changed, 4 insertions, 4 deletions
diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html
index 37bc795..00919d6 100644
--- a/hyperkitty/templates/messages/message.html
+++ b/hyperkitty/templates/messages/message.html
@@ -30,7 +30,7 @@
</div>
<div class="{% if unfolded %}first_{% endif %}email_body"
- >{{ email.content|wordwrap:90|urlizetrunc:76|escapeemail|snip_quoted }}</div>
+ >{{ email.content|snip_quoted|wordwrap:90|urlizetrunc:76|escapeemail }}</div>
{% if unfolded and email.attachments|count %}
<p class="attachments">Attachments:</p>
diff --git a/hyperkitty/templates/register.html b/hyperkitty/templates/register.html
index 2e033b5..bcd955a 100644
--- a/hyperkitty/templates/register.html
+++ b/hyperkitty/templates/register.html
@@ -6,7 +6,7 @@
<form action="" method="post" class="login mm_clear">
{% csrf_token %}
{{ form.as_p }}
- <input type=hidden name=next value={{ next }}>
+ <input type="hidden" name="next" value="{{ next }}">
<div class="field">
<button class="btn btn-primary" type="submit">
{% trans "Register" %}
diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html
index 3ac059d..295da84 100644
--- a/hyperkitty/templates/thread.html
+++ b/hyperkitty/templates/thread.html
@@ -44,8 +44,8 @@
<script src="{{ STATIC_URL }}js/libs/jquery.expander.js"></script>
<script type="text/javascript">
$(document).ready(function() {
- $('div.email_body a.quoted-switch').click(function() {
- $(this).next(".quoted-text").toggle();
+ $('div.email_body .quoted-switch a').click(function() {
+ $(this).parent().next(".quoted-text").slideToggle('fast');
return false;
});
});