{% import "components/paginator.html" as paginator with context %} {% extends "layout/basic.html" %} {{ set(UiContext, 'tdoc', tdoc) }} {{ set(UiContext, 'tsdoc', tsdoc) }} {% set type = 'homework' if tdoc.rule == 'homework' else 'contest' %} {% block content %}

{{ tdoc.title }}   {% for id, name in availableViews %}{% if id != 'default' %} {% if ['html', 'csv', 'xlsx', 'ghost'].includes(id) %} {{ _('Export as {0}').format(_(name)) }} {% else %} {{ _(name) }} {% endif %} {% endif %}{% endfor %} {% if model.contest.isDone(tdoc) and tdoc.lockAt and handler.user.own(tdoc) and not tdoc.unlocked %}
{% endif %}

{% include "partials/scoreboard.html" %}
{% endblock %}