2020-01-21 06:35:58 +00:00
|
|
|
{% extends "tabs-base.html" %}
|
|
|
|
|
|
|
|
{% block tabs %}
|
2023-01-27 23:11:10 +00:00
|
|
|
{{ make_tab('all_submissions_list', 'fa-list', all_submissions_link, _('All')) }}
|
|
|
|
{% if my_submissions_link or tab == 'my_submissions_tab' %}
|
|
|
|
{{ make_tab('my_submissions_tab', 'fa-user', my_submissions_link, _('Mine')) }}
|
|
|
|
{% endif %}
|
|
|
|
{% if best_submissions_link %}
|
|
|
|
{{ make_tab('best_submissions_list', 'fa-bar-chart', best_submissions_link, _('Best')) }}
|
|
|
|
{% endif %}
|
|
|
|
{% if tab == 'user_submissions_tab' %}
|
|
|
|
{{ make_tab('user_submissions_tab', 'fa-user', None, _("%(user)s's", user=tab_username)) }}
|
|
|
|
{% endif %}
|
|
|
|
{% if perms.judge.change_submission %}
|
|
|
|
{{ make_tab('admin', 'fa-edit', url('admin:judge_submission_changelist'), _('Admin')) }}
|
|
|
|
{% endif %}
|
2020-01-21 06:35:58 +00:00
|
|
|
{% endblock %}
|