Make user list public

This commit is contained in:
rubenwardy
2019-06-10 00:11:57 +01:00
parent 950512c2a7
commit 2fbc44bd54
3 changed files with 7 additions and 4 deletions

View File

@@ -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 %}