NDOJ/templates/organization/org-left-sidebar.html

14 lines
844 B
HTML
Raw Permalink Normal View History

2023-01-27 23:11:10 +00:00
<div class="left-sidebar">
{{ make_tab_item('home', 'fa fa-home', organization.get_absolute_url(), _('Home')) }}
{% if is_member or can_edit %}
{{ make_tab_item('problems', 'fa fa-puzzle-piece', organization.get_problems_url(), _('Problems')) }}
{{ make_tab_item('contests', 'fa fa-ranking-star', organization.get_contests_url(), _('Contests')) }}
{{ make_tab_item('submissions', 'fa fa-code', organization.get_submissions_url(), _('Submissions')) }}
2023-01-27 23:11:10 +00:00
{% endif %}
{% if is_member or can_edit or organization.is_open %}
{{ make_tab_item('users', 'fa fa-users', organization.get_users_url(), _('Members')) }}
2023-01-27 23:11:10 +00:00
{% endif %}
{% if perms.judge.change_organization %}
2024-05-30 07:59:22 +00:00
{{ make_tab_item('admin', 'fa fa-edit', url('admin:judge_organization_change', organization.id), _('Admin'), force_new_page=True) }}
2023-01-27 23:11:10 +00:00
{% endif %}
2022-05-28 04:28:22 +00:00
</div>