From 3a5496221f00215e9bc995a7a7152debf36ed1f2 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 2 Aug 2010 11:25:15 +0200 Subject: show empty-message when lists are empty --- templates/apps/userprofile/home.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/apps/userprofile/home.html b/templates/apps/userprofile/home.html index fa81009..b97b5d8 100644 --- a/templates/apps/userprofile/home.html +++ b/templates/apps/userprofile/home.html @@ -30,6 +30,8 @@ $(function() { More details about {{m.name.shortname}}... + {% empty %} +

You are not a member of any names

{% endfor %}

Names

@@ -42,6 +44,8 @@ $(function() { More details about {{n.shortname}}... + {% empty %} +

You do not own any names

{% endfor %} {% endblock %} \ No newline at end of file -- cgit v1.1