summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/message.html
blob: ca0d5b68e32cc36d89d6b61fe147d054d1bcfea1 (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
{% extends "base.html" %}
{% load url from future %}
{% load gravatar %}
{% load hk_generic %}
{% load storm %}


{% block title %}
{{ message.subject }} - {{ mlist.display_name|default:mlist.name|escapeemail }} - {{ app_name|title }}
{% endblock %}

{% block content %}

<div class="row-fluid">

{% include 'threads/month_list.html' %}

    <div class="span7">

        <div class="message-header">
            <a class="thread-back"
                href="{% url 'thread' threadid=message.thread_id mlist_fqdn=mlist.name %}#{{message.message_id_hash}}">
            </a> {# the background image will be a "back to thread" button #}
            <h1>{{ message.subject }}</h1>
        </div>

        <section id="thread-content">
            {% include 'messages/message.html' with email=message unfolded='True' %}
        </section>

    </div>

</div>

{% endblock %}

{% block additionaljs %}

<script type="text/javascript">
    $(document).ready(function() {
        setup_emails_list();
    });
</script>

{% endblock %}