summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hyperkitty/templates/overview.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/hyperkitty/templates/overview.html b/hyperkitty/templates/overview.html
index 7bc0d5d..edb98ca 100644
--- a/hyperkitty/templates/overview.html
+++ b/hyperkitty/templates/overview.html
@@ -20,8 +20,14 @@
<section id="overview" class="span10">
<section id="title">
- <h2>{{ mlist.display_name }}</h2>
- <p id="description">{{ mlist.description}}</p>
+ <h2>
+ {% if mlist.display_name %}
+ {{ mlist.display_name }}
+ {% else %}
+ {{ mlist.name|until:"@" }}
+ {% endif %}
+ </h2>
+ <p id="description">{{ mlist.description|default_if_none:"" }}</p>
<section id="statistics">