From 8b25a4ceb4bf247f27e33677287ff5c13046abb4 Mon Sep 17 00:00:00 2001 From: Stephan Telling Date: Sun, 5 Nov 2017 17:14:34 +0100 Subject: [PATCH] fix #169 --- src/people/templates/people.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/people/templates/people.html b/src/people/templates/people.html index cdaeaa46..aaa2e70c 100644 --- a/src/people/templates/people.html +++ b/src/people/templates/people.html @@ -31,7 +31,9 @@ People | {{ block.super }} {{ team.name }} Team - {% if team.approvedmembers.count == team.anoncount %} + {% if team.anoncount == 0 and team.approvedmembers.count == 0 %} + No team member(s) + {% elif team.approvedmembers.count == team.anoncount %} {{ team.anoncount }} anonymous member(s) {% endif %}