NDOJ/templates/problem/left-sidebar.html

9 lines
426 B
HTML
Raw Normal View History

2023-01-24 02:36:44 +00:00
{% if not show_contest_mode %}
2022-05-28 04:28:22 +00:00
<div class="left-sidebar">
{{ make_tab_item('feed', 'fa fa-pagelines', url('problem_feed'), _('Feed')) }}
{{ make_tab_item('list', 'fa fa-list', url('problem_list'), _('List')) }}
2023-01-24 02:36:44 +00:00
{% if request.user.is_superuser %}
2022-05-28 04:28:22 +00:00
{{ make_tab_item('admin', 'fa fa-edit', url('admin:judge_problem_changelist'), _('Admin')) }}
2023-01-24 02:36:44 +00:00
{% endif %}
2022-05-28 04:28:22 +00:00
</div>
{% endif %}