summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-05-18 13:25:49 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-05-18 19:35:36 +0200
commit2b0aba327da3f1ca70879b4ab6177ba720f51236 (patch)
tree9210c378f67f859a1ebd66b9e93995ded522e3da /hyperkitty/templates
parent00e6dd9e20727d13abd0e379e99b9f22855c3d19 (diff)
downloadhyperkitty-2b0aba327da3f1ca70879b4ab6177ba720f51236.tar.gz
hyperkitty-2b0aba327da3f1ca70879b4ab6177ba720f51236.tar.xz
hyperkitty-2b0aba327da3f1ca70879b4ab6177ba720f51236.zip
Use the new subject_prefix attribute for stripping
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/index.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/hyperkitty/templates/index.html b/hyperkitty/templates/index.html
index 2efe320..85d051e 100644
--- a/hyperkitty/templates/index.html
+++ b/hyperkitty/templates/index.html
@@ -17,7 +17,13 @@
{% for mlist in all_lists %}
<div class="span3">
<a href="{% url 'list_overview' mlist_fqdn=mlist.name %}" class="mailinglist">
- <p class="list-name">{{ mlist.name }}</p>
+ <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 }}img/ajax-loader.gif" />