{% extends "tabs-base.html" %} {% block post_tab_spacer %} {% if tab == 'calendar' %}
{% if prev_month %} « {{ _('Prev') }} {% endif %} {% if not (curr_month.year == now.year and curr_month.month == now.month) %} {{ _('Today') }} {% endif %} {% if next_month %} {{ _('Next') }} » {% endif %}
{% endif %} {% endblock %} {% block tabs %} {{ make_tab('list', 'fa-list', url('contest_list'), _('List')) }} {{ make_tab('calendar', 'fa-calendar', url('contest_calendar', now.year, now.month), _('Calendar')) }} {% if perms.judge.change_contest %} {{ make_tab('admin', 'fa-edit', url('admin:judge_contest_changelist'), _('Admin')) }} {% endif %} {% endblock %}