summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/index.html
blob: fc711b2a957f8426c57c60eb51ceca9bafa77c74 (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 url from future %}
{% load i18n %}


{% block title %}
{% trans 'Available lists' %} - {{ app_name|title }}
{% endblock %}

{% block content %}

<div class="all-lists">

<h1 class="lists">{% trans 'Available lists' %}</h1>

<div class="row-fluid">
{% for mlist in all_lists %}
<div class="span3">
    <a href="{% url 'list_overview' mlist_fqdn=mlist.name %}" class="mailinglist">
        <p class="list-name">
            {% if mlist.display_name %}
                {{ mlist.display_name }}
            {% else %}
                {{ mlist.name }}
            {% endif %}
        </p>
        <p class="list-address">{{ mlist.name }}</p>
        <p class="list-description"></p>
        <img alt="Loading..." class="ajaxloader" src="{{ STATIC_URL }}hyperkitty/img/ajax-loader.gif" />
    </a>
</div>
{% if forloop.counter|divisibleby:"4" %}
</div>
<div class="row-fluid">
{% endif %}
{% empty %}
<p>No archived list yet.</p>
{% endfor %}
</div>

</div>

<img id="logo" alt="HyperKitty" src="{{STATIC_URL}}hyperkitty/img/logo.png" />

{% endblock %}

{% block additionaljs %}

<script type="text/javascript">
    $(document).ready(function() {
        // Load the properties
        update_list_properties("{% url 'list_properties' %}");
    });
</script>

{% endblock %}