da2a11adf9
This reverts commit 0494a36681
.
14 lines
No EOL
808 B
HTML
Executable file
14 lines
No EOL
808 B
HTML
Executable file
<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-list', organization.get_problems_url(), _('Problems')) }}
|
|
{{ make_tab_item('contests', 'fa fa-trophy', organization.get_contests_url(), _('Contests')) }}
|
|
{{ make_tab_item('submissions', 'fa fa-book', organization.get_submissions_url(), _('Submissions')) }}
|
|
{% endif %}
|
|
{% if is_member or can_edit or organization.is_open %}
|
|
{{ make_tab_item('users', 'fa fa-user', organization.get_users_url(), _('Members')) }}
|
|
{% endif %}
|
|
{% if perms.judge.change_organization %}
|
|
{{ make_tab_item('admin', 'fa fa-edit', url('admin:judge_organization_change', organization.id), _('Admin')) }}
|
|
{% endif %}
|
|
</div> |