{% import "components/record.html" as record with context %} {% import "components/problem.html" as problem with context %} {% extends "layout/basic.html" %} {% block content %} {{ set(UiContext, { getProblemUrlWithCategory: url('problem_category', category='{category}'), getProblemUrlWithoutCategory: url('problem_main'), currentCategory: category }) }}
{% include "partials/problem_list.html" %}
{% if handler.user.hasPerm(perm.PERM_EDIT_PROBLEM) %} {% endif %}

{{ _('Categories') }}

{% include "partials/category.html" %}
{% include "partials/problem_lucky.html" %}

{{ _('Search') }}

{% if handler.user.hasPerm(perm.PERM_CREATE_PROBLEM) %}

{{ _('Create Problem') }}

{{ _('You have permissions to create problems for this domain.') }}

{% endif %}

{{ _('Statistics') }}

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