{% extends "base.html" %}

{% block title %}
	Users
{% endblock %}

{% block content %}
<ul class="userlist">
	{% for user in users %}
		<li>
			<a href="{{ url_for('users.profile', username=user.username) }}" class="{{ user.rank }}">
				{{ user.display_name }}
			</a> -
			{{ user.rank.getTitle() }}
			{% if current_user.is_authenticated %}
				- {{ user.packages.count() }} packages.
			{% endif %}
	{% endfor %}
</ul>
{% endblock %}
