summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-04 12:13:34 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-04 12:57:51 +0100
commit0746b9db3c828b90885d81ce64bbd33fe03c8a26 (patch)
tree282ccce7825c1ef969c08dbdd6811f9135c7005b /hyperkitty/templates
parent1ab795172026bc585b890f8e53f56b68f6541fe6 (diff)
downloadhyperkitty-0746b9db3c828b90885d81ce64bbd33fe03c8a26.tar.gz
hyperkitty-0746b9db3c828b90885d81ce64bbd33fe03c8a26.tar.xz
hyperkitty-0746b9db3c828b90885d81ce64bbd33fe03c8a26.zip
Display the list description on the front page
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/index.html11
1 files changed, 8 insertions, 3 deletions
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 %}