{% extends "layout/basic.html" %} {% import "components/paginator.html" as paginator with context %} {% import "components/nothing.html" as nothing with context %} {% block content %}
{% if not udocs.length %} {{ nothing.render('Sorry, there is no user in this domain.') }} {% else %} {% for key, def in model.rp %} {% if not def.hidden %} {% endif %} {% endfor %} {% for key, def in model.rp %} {% if not def.hidden %} {% endif %} {% endfor %} {%- for udoc in udocs -%} {% for key, def in model.rp %} {% if not def.hidden %} {% endif %} {% endfor %} {%- endfor -%}
{{ _('Rank') }} {{ _('Username') }} {{ _('RP') }}{{ _('rpDetailText_' + key) }}{{ _('Accept') }} {{ _('Bio') }}
{{ (page - 1) * 100 + loop.index }} {{ user.render_inline(udoc) }} {{ udoc.rp|default(0)|round(0) }}{{ udoc.rpInfo[key]|round if udoc.rpInfo[key] else '-' }}{{ udoc.nAccept|default(0) }} {{ udoc.bio|default('')|truncate(64, true)|markdownInline|safe }}
{{ paginator.render(page, upcount) }} {% endif %}
{% endblock %}