NDOJ/templates/user/base-users-table.html

33 lines
1.3 KiB
HTML
Raw Normal View History

2020-01-21 06:35:58 +00:00
<thead>
<tr>
<th class="header rank">{{ rank_header or _("Rank") }}</th>
{% block after_rank_head %}{% endblock %}
2022-11-09 20:41:08 +00:00
<th class="header username">{{ _('Username') }}{% block username_head_extra %}{% endblock %}</th>
2020-01-21 06:35:58 +00:00
{% block before_point_head %}{% endblock %}
<th class="header points">
{% if sort_links %}<a href="{{ sort_links.performance_points }}">{% endif %}
{{ _('Points') }}
{%- if sort_links %}{{ sort_order.performance_points }}</a>{% endif %}
</th>
{% block after_point_head %}{% endblock %}
</tr>
</thead>
<tbody>
{% for rank, user in users %}
<tr id="user-{{ user.user.username }}" {% block row_extra scoped %}{% endblock %}>
2021-12-27 10:18:04 +00:00
<td class="rank-td">{{ rank }}</td>
2020-01-21 06:35:58 +00:00
{% block after_rank scoped %}{% endblock %}
2022-06-19 09:15:58 +00:00
<td class="user-name"><div style="display: inline-block;">{{ link_user(user) }}{% block user_footer scoped %}{% endblock %}</div> {% block user_data scoped %}{% endblock %}</td>
2020-01-21 06:35:58 +00:00
{% block before_point scoped %}{% endblock %}
{% block point scoped %}
<td title="{{ user.performance_points|floatformat(2) }}" class="user-points">
{{ user.performance_points|floatformat(0) }}
</td>
{% endblock %}
{% block after_point scoped %}{% endblock %}
</tr>
{% endfor %}
</tbody>