From a4bf2658ce6474c1b8dc2d4f8997d8a4c508a1a3 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Mon, 28 Jan 2013 16:48:03 +0100 Subject: fix the favorites system --- hyperkitty/templates/threads/add_tag_form.html | 15 --------------- hyperkitty/templates/threads/right_col.html | 16 ++++++++++------ 2 files changed, 10 insertions(+), 21 deletions(-) delete mode 100644 hyperkitty/templates/threads/add_tag_form.html (limited to 'hyperkitty/templates/threads') diff --git a/hyperkitty/templates/threads/add_tag_form.html b/hyperkitty/templates/threads/add_tag_form.html deleted file mode 100644 index 44b5f76..0000000 --- a/hyperkitty/templates/threads/add_tag_form.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "base.html" %} - -{% block header %} {% endblock %} - -{% block content %} -
- {% csrf_token %} - {{ addtag_form }} - -
-{% endblock %} - -{# vim: set noet: #} diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html index 73194df..60bed09 100644 --- a/hyperkitty/templates/threads/right_col.html +++ b/hyperkitty/templates/threads/right_col.html @@ -22,18 +22,22 @@ old - {% if use_mockups %} -

- Add to favorite discussions -

- {% endif %} +
+ {% csrf_token %} + +

+ Add to favorite discussions + Remove from favorite discussions +

+
{% include 'threads/tags.html' %}
+ action="{% url add_tag mlist_fqdn=list_address, threadid=threadid %}"> {% csrf_token %} {{ addtag_form.as_p }}
-- cgit