From 9f18a590819a01017c15169d82763680a72848fb Mon Sep 17 00:00:00 2001 From: Aamir Khan Date: Tue, 24 Jul 2012 17:00:25 -0400 Subject: Packaging hyperkitty --- hyperkitty/templates/search.html | 106 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 hyperkitty/templates/search.html (limited to 'hyperkitty/templates/search.html') diff --git a/hyperkitty/templates/search.html b/hyperkitty/templates/search.html new file mode 100644 index 0000000..e0e4f8c --- /dev/null +++ b/hyperkitty/templates/search.html @@ -0,0 +1,106 @@ +{% extends "base.html" %} +{% load poll_extras %} +{% load gravatar %} + +{% block content %} + +{% if threads.object_list %} + +{% endif %} + +{% for email in threads.object_list %} + +
+
+ {{email.subject}} + {{email.date}} +
+
+ {% if email.category_tag %} + + {% else %} + + {% endif %} +
+ {% if email.email %} + {% gravatar_img_for_email email.email 40 %} +
+ {% endif %} + {{email.sender}} +
+
+ {{email.content}} +
+
+
+
    +
  • + Tags: +
  • + {% for tag in email.tags %} +
  • + {{tag}} +
  • + {% endfor %} +
+
    +
  • + {{email.participants|length}} participants +
  • +
  • + {{email.answers}} comments +
  • +
+ +
+
+ +{% empty %} +Sorry no emails could be found for your search. +{% endfor %} + +{% if threads.object_list %} + +{% endif %} + +{% endblock %} + +{% block additionaljs %} + + +{% endblock %} + -- cgit