diff options
| author | rubenwardy <rw@rubenwardy.com> | 2019-06-10 00:11:57 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2019-06-10 00:11:57 +0100 |
| commit | 2fbc44bd54a3f0ed67cbb6236e38afbb407a2135 (patch) | |
| tree | 5d4aa307212ee5bfe406b83a17de6a7ec16037ab /app/templates/users/list.html | |
| parent | 950512c2a7aab1706f29aa6f57ef7b0fa5f6a1e9 (diff) | |
| download | cheatdb-2fbc44bd54a3f0ed67cbb6236e38afbb407a2135.tar.xz | |
Make user list public
Diffstat (limited to 'app/templates/users/list.html')
| -rw-r--r-- | app/templates/users/list.html | 6 |
1 files changed, 4 insertions, 2 deletions
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 @@ <a href="{{ url_for('user_profile_page', username=user.username) }}"> {{ user.display_name }} </a> - - {{ user.rank.getTitle() }} - - {{ user.packages.count() }} packages. + {{ user.rank.getTitle() }} + {% if current_user.is_authenticated %} + - {{ user.packages.count() }} packages. + {% endif %} {% endfor %} </ul> {% endblock %} |
