blob: 295da84c6fd7fe3542fba0b0fc298eededa23d8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{% extends "base.html" %}
{% load gravatar %}
{% load hk_generic %}
{% load storm %}
{% block content %}
<div class="thread-header">
{% for thread in neighbors %}
{% if thread %}
<a class="thread-{% ifequal forloop.counter 1 %}older{% else %}newer{% endifequal %}"
href="{% url thread threadid=thread.thread_id, mlist_fqdn=list_address %}"
>{{ thread.subject|strip_subject:mlist|truncatesmart:"22" }}</a>
{% endif %}
{% endfor %}
<h1>{{ subject }}</h1>
</div>
{% include 'threads/right_col.html' %}
<!-- main section, the email thread -->
<section id="thread_content">
<!-- Start first email -->
{% include 'messages/first_email.html' %}
<!-- End first email -->
{% for email in replies %}
<div class="{% cycle 'even' 'odd' %}">
<!-- Start email -->
{% include 'messages/message.html' %}
<!-- End of email -->
</div>
{% endfor %}
</section>
<!-- end of content -->
{% endblock %}
{% block additionaljs %}
<script src="{{ STATIC_URL }}js/libs/jquery.expander.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('div.email_body .quoted-switch a').click(function() {
$(this).parent().next(".quoted-text").slideToggle('fast');
return false;
});
});
</script>
{% endblock %}
{# vim: set noet: #}
|