2020-01-21 06:35:58 +00:00
|
|
|
{% extends "user/base-users-table.html" %}
|
|
|
|
|
|
|
|
{% block after_rank_head %}
|
2021-12-27 10:18:04 +00:00
|
|
|
<th></th>
|
2020-01-21 06:35:58 +00:00
|
|
|
<th class="header rank">
|
|
|
|
{% if sort_links %}<a href="{{ sort_links.rating }}">{% endif %}
|
|
|
|
<span class="rate-group">
|
|
|
|
<svg class="rate-box" viewBox="0 0 16 16">
|
|
|
|
<circle cx="8" cy="8" r="7" stroke="white"></circle>
|
|
|
|
<path clip-path="url(#rating-clip)" d="M0 16v-4.8h16 0v16z" fill="white"></path>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
{%- if sort_links %}{{ sort_order.rating }}</a>{% endif %}
|
|
|
|
</th>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block after_rank %}
|
2021-12-27 10:18:04 +00:00
|
|
|
<td><img style="max-width: none; border-radius: 50%" src="{{ gravatar(user, 45) }}" height="45px" width="45px"></td>
|
|
|
|
<td class="rating-td">{% if user.rating %}{{ rating_number(user) }}{% endif %}</td>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block user_data %}
|
|
|
|
<span style="color: gray; font-weight: 600">{{ "- (" + user.user.first_name + ")" if user.user.first_name else ''}}</span>
|
2020-01-21 06:35:58 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block after_point_head %}
|
|
|
|
<th class="problems">
|
|
|
|
{% if sort_links %}<a href="{{ sort_links.problem_count }}">{% endif %}
|
|
|
|
{{ _('Problems') }}
|
|
|
|
{%- if sort_links %}{{ sort_order.problem_count }}</a>{% endif %}
|
|
|
|
</th>
|
2021-12-27 10:18:04 +00:00
|
|
|
<th class="about-column">{{ _('About') }}</th>
|
2020-01-21 06:35:58 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block after_point %}
|
2021-12-27 10:18:04 +00:00
|
|
|
<td class="user-problem-count">{{ user.problem_count }}</td>
|
|
|
|
<td>
|
|
|
|
<div class="about-td">
|
|
|
|
{% if user.about %}
|
|
|
|
{% cache 86400 'user_about' user.id MATH_ENGINE %}
|
|
|
|
{{ user.about|markdown('self-description', MATH_ENGINE)|reference|str|safe }}
|
|
|
|
{% endcache %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</td>
|
2020-01-21 06:35:58 +00:00
|
|
|
{% endblock %}
|