summaryrefslogtreecommitdiff
path: root/templates/apps/userprofile/home.html
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-09-20 11:01:05 +0200
committerLeif Johansson <leifj@sunet.se>2011-09-20 11:01:05 +0200
commitbc0b2364b1a22ecc9662ddfce1a4bd314f38f79b (patch)
treef2b2446f44cc276e12a7e1ea0749822f98464893 /templates/apps/userprofile/home.html
parentcd364fba4c45f80cfd326f786c3d4901b2d464c2 (diff)
removed entity model, celery
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 %}