{% import "components/user.html" as user with context %} {% import "components/contest.html" as contest with context %} {%- for bdoc in bdocs -%} {% if bdoc.sent %} {{ _('Sent') }} {% else %} {{ _('Waiting') }} {% endif %} {{ bdoc._id.toHexString()|truncate(8,true,'') }} {% if not bdoc.sent %}
{% endif %} {{ utils.getAlphabeticId(tdoc.pids.indexOf(bdoc.pid)) }}  ({{ tdoc.balloon[bdoc.pid].name }}) {{ user.render_inline(udict[bdoc.uid], badge=false) }} {% if bdoc.sent %}{{ user.render_inline(udict[bdoc.sent], avatar=false, badge=false) }}{% else %}-{% endif %} {% if bdoc.first %}{{ _('First of Problem') }}{% endif %} {%- endfor -%}