summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/thread.html
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-10-05 15:01:59 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-10-05 15:01:59 +0200
commitc7570addec98c4e7695d83202650b9296e47c957 (patch)
tree147cd9e6e981acdd11efd6fd3950d8f936f8ae42 /hyperkitty/templates/thread.html
parentcd1a2d5f2ec738ab2f17c86dcabe8733a682aa4f (diff)
downloadhyperkitty-c7570addec98c4e7695d83202650b9296e47c957.tar.gz
hyperkitty-c7570addec98c4e7695d83202650b9296e47c957.tar.xz
hyperkitty-c7570addec98c4e7695d83202650b9296e47c957.zip
Improve appearance
Diffstat (limited to 'hyperkitty/templates/thread.html')
-rw-r--r--hyperkitty/templates/thread.html26
1 files changed, 15 insertions, 11 deletions
diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html
index a3d8c8b..78b4891 100644
--- a/hyperkitty/templates/thread.html
+++ b/hyperkitty/templates/thread.html
@@ -8,6 +8,10 @@
{% block content %}
+ <header>
+ <h1>{{ subject }}</h1>
+ </header>
+
{% include 'threads/right_col.html' %}
<!-- main section, the email thread -->
@@ -39,7 +43,7 @@
userCollapseText : 'View Less',
expandText : 'View More'
});
- });
+ });
</script>
<script type="text/javascript">
@@ -90,21 +94,21 @@
{% else %}
alert('You need to login in order to vote');
{% endif %}
-
+
});
$("#add_tag_form").submit( function () {
-
+
{% if user.is_authenticated %}
- $.ajax({
+ $.ajax({
type: "POST",
- data : $(this).serialize(),
- url: "{% url add_tag mlist_fqdn=list_address, email_id=threadid %}",
+ data : $(this).serialize(),
+ url: "{% url add_tag mlist_fqdn=list_address, email_id=threadid %}",
success: function(data){
console.log('Tag is added successfully');
- location.reload();
- }
- });
+ location.reload();
+ }
+ });
return false;
{% else %}
alert('You need to login in order to add tag');
@@ -115,7 +119,7 @@
$("ul.email_info li.attachments > a").click(function() {
$(this).next("ul").fadeToggle('fast');
});
-
- });
+
+ });
</script>
{% endblock %}