{% 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 %}
{%- for ext in ['HTML', 'CSV', 'Ghost'] -%} {{ _('Export as {0}').format(ext) }} {%- endfor -%} {% for id, name in availableViews %}{% if not ['html', 'csv', 'default', 'ghost'].includes(id) %} {{ _(name) }} {% 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 %}