17 lines
782 B
HTML
17 lines
782 B
HTML
{% extends "tabs-base.html" %}
|
|
|
|
{% block tabs %}
|
|
{{ 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 %}
|
|
{% endblock %}
|