2024-02-19 23:00:44 +00:00
|
|
|
<div class="left-sidebar">
|
|
|
|
{{ make_tab_item('home', 'fa fa-home', course.get_absolute_url(), _('Home')) }}
|
|
|
|
{% if is_editable %}
|
|
|
|
{{ make_tab_item('edit_lesson', 'fa fa-edit', url('edit_course_lessons', course.slug), _('Edit lessons')) }}
|
2024-10-02 20:06:33 +00:00
|
|
|
{{ make_tab_item('contests', 'fa fa-ranking-star', url('course_contest_list', course.slug), _('Contests')) }}
|
2024-06-19 03:11:36 +00:00
|
|
|
{{ make_tab_item('grades', 'fa fa-check-square', url('course_grades', course.slug), _('Grades')) }}
|
2024-02-19 23:00:44 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if perms.judge.change_course %}
|
2024-05-30 07:59:22 +00:00
|
|
|
{{ make_tab_item('admin', 'fa fa-edit', url('admin:judge_course_change', course.id), _('Admin'), force_new_page=True) }}
|
2024-02-19 23:00:44 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|