2018-03-24 20:24:34 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
Users
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-05-15 16:00:07 +02:00
|
|
|
<ul class="userlist">
|
2018-03-24 20:24:34 +01:00
|
|
|
{% for user in users %}
|
2020-01-21 23:40:51 +01:00
|
|
|
<li>
|
|
|
|
<a href="{{ url_for('users.profile', username=user.username) }}" class="{{ user.rank }}">
|
2018-03-24 20:24:34 +01:00
|
|
|
{{ user.display_name }}
|
|
|
|
</a> -
|
2019-06-10 01:11:57 +02:00
|
|
|
{{ user.rank.getTitle() }}
|
|
|
|
{% if current_user.is_authenticated %}
|
|
|
|
- {{ user.packages.count() }} packages.
|
|
|
|
{% endif %}
|
2018-03-24 20:24:34 +01:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endblock %}
|