contentdb/app/templates/users/list.html
2020-01-21 22:40:51 +00:00

21 lines
439 B
HTML

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