contentdb/app/templates/users/list.html

21 lines
439 B
HTML
Raw Normal View History

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 %}
2018-05-15 16:00:07 +02:00
<li class="{{ user.rank }}">
<a href="{{ url_for('users.profile', username=user.username) }}">
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 %}