diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2012-10-05 15:01:59 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2012-10-05 15:01:59 +0200 |
commit | c7570addec98c4e7695d83202650b9296e47c957 (patch) | |
tree | 147cd9e6e981acdd11efd6fd3950d8f936f8ae42 /hyperkitty/templates/thread.html | |
parent | cd1a2d5f2ec738ab2f17c86dcabe8733a682aa4f (diff) | |
download | hyperkitty-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.html | 26 |
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 %} |