{% import "components/nothing.html" as nothing with context %} {% set _files = testdata if filetype == 'testdata' else additional_file %}
{% elif _files.length %}{{ _('This is a copy of another problem.') }}
{% endif %} | {{ _('Filename') }} | {{ _('Size') }} | {% if sidebar %}{% endif %} |
---|---|---|---|
{% endif %} |
{% if filetype != 'testdata' or handler.user.own(pdoc) or handler.user.hasPriv(PRIV.PRIV_READ_PROBLEM_DATA) or handler.user.hasPerm(perm.PERM_READ_PROBLEM_DATA) %}
{{ file.name }}
{% else %}
{{ file.name }} {% endif %} |
{{ size(file.size) }} | {% if sidebar %}{% endif %} |