From 2fbc44bd54a3f0ed67cbb6236e38afbb407a2135 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 10 Jun 2019 00:11:57 +0100 Subject: Make user list public --- app/templates/users/list.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app/templates/users') diff --git a/app/templates/users/list.html b/app/templates/users/list.html index 6bc23b5..5ec5662 100644 --- a/app/templates/users/list.html +++ b/app/templates/users/list.html @@ -11,8 +11,10 @@ {{ user.display_name }} - - {{ user.rank.getTitle() }} - - {{ user.packages.count() }} packages. + {{ user.rank.getTitle() }} + {% if current_user.is_authenticated %} + - {{ user.packages.count() }} packages. + {% endif %} {% endfor %} {% endblock %} -- cgit v1.2.3