summaryrefslogtreecommitdiff
path: root/templates/apps/userprofile/home.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/apps/userprofile/home.html')
-rw-r--r--templates/apps/userprofile/home.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/apps/userprofile/home.html b/templates/apps/userprofile/home.html
index 7c875f3..2690f4d 100644
--- a/templates/apps/userprofile/home.html
+++ b/templates/apps/userprofile/home.html
@@ -54,7 +54,7 @@
<div id="n{{n.id}}">
<h3 class="listheader">{{n.shortname}}</h3>
<div>
- <a href="{{n.url}}">{{n.shortname}}</a> was created by {{n.creator|userdisplay}} {{n.timecreated|datehumanize}} and has {{n.memberships|length}} member{{n.memberships|pluralize}}.
+ <a href="{{n.url}}">{{n.shortname}}</a> was created by {{n.creator|userdisplay}} {{n.timecreated|datehumanize}}{% if n.count_members %}and has {{n.count_members}} member{{n.count_members|pluralize}}{%endif%}.
</div>
</div>
{% empty %}