aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/base.html3
-rw-r--r--app/templates/users/list.html6
2 files changed, 6 insertions, 3 deletions
diff --git a/app/templates/base.html b/app/templates/base.html
index e672890..2f483dc 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -133,7 +133,8 @@
<a href="https://github.com/minetest/contentdb">GitHub</a> |
<a href="{{ url_for('flatpage', path='help') }}">Help</a> |
<a href="{{ url_for('flatpage', path='policy_and_guidance') }}">Policy and Guidance</a> |
- <a href="{{ url_for('flatpage', path='help/reporting') }}">Report / DMCA</a>
+ <a href="{{ url_for('flatpage', path='help/reporting') }}">Report / DMCA</a> |
+ <a href="{{ url_for('user_list_page') }}">User List</a>
</footer>
<script src="/static/jquery.min.js"></script>
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 %}