summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hyperkitty/static/css/hyperkitty.css2
-rw-r--r--hyperkitty/templates/index.html11
-rw-r--r--hyperkitty/views/pages.py4
3 files changed, 12 insertions, 5 deletions
diff --git a/hyperkitty/static/css/hyperkitty.css b/hyperkitty/static/css/hyperkitty.css
index 0ce2c98..6017c74 100644
--- a/hyperkitty/static/css/hyperkitty.css
+++ b/hyperkitty/static/css/hyperkitty.css
@@ -36,10 +36,12 @@ ul.lists li a {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
+ color: black;
}
ul.lists li a:hover {
text-decoration: none;
background-color: #eee;
+ color: black;
}
diff --git a/hyperkitty/templates/index.html b/hyperkitty/templates/index.html
index 909675a..dee58a5 100644
--- a/hyperkitty/templates/index.html
+++ b/hyperkitty/templates/index.html
@@ -14,9 +14,14 @@
<ul class="lists unstyled">
{% for mlist in lists %}
<li>
- <a href="{% url list_overview mlist_fqdn=mlist %}">
- <p class="list-name">{{ mlist }}</p>
- <p>overview{% if mlist.display_name %} of {{ mlist.display_name }}{% endif %}</p>
+ <a href="{% url list_overview mlist_fqdn=mlist.name %}">
+ <p class="list-name">{{ mlist.name }}</p>
+ {% if mlist.display_name %}
+ <p>{{ mlist.display_name }}</p>
+ {% endif %}
+ {% if mlist.description %}
+ <p>{{ mlist.description }}</p>
+ {% endif %}
</a>
</li>
{% endfor %}
diff --git a/hyperkitty/views/pages.py b/hyperkitty/views/pages.py
index c444cfd..4fc27d4 100644
--- a/hyperkitty/views/pages.py
+++ b/hyperkitty/views/pages.py
@@ -49,10 +49,10 @@ def index(request):
'username': settings.MAILMAN_USER, 'password': settings.MAILMAN_PASS}
store = get_store(request)
- list_data = store.get_list_names()
+ lists = store.get_lists()
c = RequestContext(request, {
- 'lists': list_data,
+ 'lists': lists,
'search_form': search_form,
})
return HttpResponse(t.render(c))