summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/threads
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-07-24 17:00:25 -0400
committerAamir Khan <syst3m.w0rm@gmail.com>2012-07-24 17:00:25 -0400
commit9f18a590819a01017c15169d82763680a72848fb (patch)
tree9c781cd677eeae9b1e50e986647e1929e99bdac7 /hyperkitty/templates/threads
parentae77d9901e2a466622818f95d784fb85b5296727 (diff)
downloadhyperkitty-9f18a590819a01017c15169d82763680a72848fb.tar.gz
hyperkitty-9f18a590819a01017c15169d82763680a72848fb.tar.xz
hyperkitty-9f18a590819a01017c15169d82763680a72848fb.zip
Packaging hyperkitty
Diffstat (limited to 'hyperkitty/templates/threads')
-rw-r--r--hyperkitty/templates/threads/add_tag_form.html13
-rw-r--r--hyperkitty/templates/threads/right_col.html60
2 files changed, 73 insertions, 0 deletions
diff --git a/hyperkitty/templates/threads/add_tag_form.html b/hyperkitty/templates/threads/add_tag_form.html
new file mode 100644
index 0000000..65f6577
--- /dev/null
+++ b/hyperkitty/templates/threads/add_tag_form.html
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+
+{% block header %} {% endblock %}
+
+{% block content %}
+<form action="/addtag/{{list_address}}/{{email_id}}/" method="post">
+ {% csrf_token %}
+ {{ addtag_form }}
+ <button type="submit">
+ Add
+ </button>
+</form>
+{% endblock %}
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html
new file mode 100644
index 0000000..9a1e448
--- /dev/null
+++ b/hyperkitty/templates/threads/right_col.html
@@ -0,0 +1,60 @@
+{% load gravatar %}
+
+<!-- right column -->
+<section id="thread_overview_info">
+ <!-- Start dates -->
+ <div id="thread_date_info">
+ <div class="days_num inline-block">
+ 21
+ </div>
+ <div class="days_text inline-block">
+ days
+ <br />
+ inactive
+ </div>
+ <div id="days_old" class="days_num inline-block">
+ 24
+ </div>
+ <div class="days_text inline-block">
+ days
+ <br />
+ old
+ </div>
+ </div>
+ <p id="add_to_fav">
+ <a href="#AddFav" class="notsaved">Add to favorite discussions</a>
+ </p>
+ <!-- End dates -->
+ <hr id="grey"/>
+ <div id="tags">
+ <span id="tag_title">tags </span>({{tags|length}})
+ <ul class="inline">
+ {% for tag in tags %}
+ <li>
+ {{ tag }} |
+ </li>
+ {% endfor %}
+ </ul>
+ </div>
+ <div id="add_tag">
+ <form action="/addtag/{{list_address}}/{{first_mail.message_id}}/" method="post">
+ {% csrf_token %}
+ {{ addtag_form.as_p }}
+ <button type="submit">
+ Add a tag
+ </button>
+ </form>
+ </div>
+ <div id="participants">
+ <span id="participants_title"> participants </span>({{participants|length}})
+ <ul>
+ {% for key,value in participants.items %}
+ <li>
+ {% gravatar_img_for_email value.email 20%}
+ {{key}}
+ </li>
+ {% endfor %}
+ </ul>
+ </div>
+</section>
+