Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MO-P
Odevzdávací Systém MO
Commits
4a4a15d3
Project 'mj/mo-submit' was moved to 'mo-p/osmo'. Please update any links and bookmarks that may still have the old path.
Commit
4a4a15d3
authored
11 months ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
Kolo odkazuje na import bodů
Closes
#418
.
parent
7a9646a3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mo/web/templates/org_round.html
+5
-1
5 additions, 1 deletion
mo/web/templates/org_round.html
with
5 additions
and
1 deletion
mo/web/templates/org_round.html
+
5
−
1
View file @
4a4a15d3
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
{% set can_view_contestants = rights.have_right(Right.view_contestants) %}
{% set can_view_contestants = rights.have_right(Right.view_contestants) %}
{% set can_handle_submits = rights.have_right(Right.view_submits) %}
{% set can_handle_submits = rights.have_right(Right.view_submits) %}
{% set can_upload = rights.can_upload_feedback() %}
{% set can_upload = rights.can_upload_feedback() %}
{% set can_edit_points = rights.can_edit_points() %}
{% set can_view_statement = rights.can_view_statement() %}
{% set can_view_statement = rights.can_view_statement() %}
{% set can_add_contest = g.gatekeeper.rights_generic().have_right(Right.add_contest) %}
{% set can_add_contest = g.gatekeeper.rights_generic().have_right(Right.add_contest) %}
{% set possible_rights_elsewhere = ctx.possible_rights_elsewhere() %}
{% set possible_rights_elsewhere = ctx.possible_rights_elsewhere() %}
...
@@ -100,7 +101,7 @@
...
@@ -100,7 +101,7 @@
</table>
</table>
<div
style=
"clear: both;"
></div>
<div
style=
"clear: both;"
></div>
{% if can_view_contestants or can_manage_contest or can_manage_round or round.has_messages %}
{% if can_view_contestants or can_manage_contest or can_manage_round or round.has_messages %}
{# Ostatní práva implikují některé z těchto #}
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
{% if can_view_contestants %}
{% if can_view_contestants %}
<a
class=
"btn btn-primary"
href=
'{{ ctx.url_for('
org_generic_list
')
}}'
>
Seznam účastníků
</a>
<a
class=
"btn btn-primary"
href=
'{{ ctx.url_for('
org_generic_list
')
}}'
>
Seznam účastníků
</a>
...
@@ -112,6 +113,9 @@
...
@@ -112,6 +113,9 @@
<a
class=
"btn btn-default"
href=
'{{ ctx.url_for('
org_import_user
')
}}'
>
Importovat účastníky
</a>
<a
class=
"btn btn-default"
href=
'{{ ctx.url_for('
org_import_user
')
}}'
>
Importovat účastníky
</a>
<a
class=
"btn btn-default"
href=
'{{ ctx.url_for('
org_import_org
')
}}'
>
Importovat organizátory
</a>
<a
class=
"btn btn-default"
href=
'{{ ctx.url_for('
org_import_org
')
}}'
>
Importovat organizátory
</a>
{% endif %}
{% endif %}
{% if can_edit_points %}
<a
class=
"btn btn-default"
href=
'{{ ctx.url_for('
org_generic_batch_points
')
}}'
>
Importovat body
</a>
{% endif %}
{% if can_manage_round %}
{% if can_manage_round %}
<a
class=
"btn btn-default"
href=
'{{ ctx.url_for('
org_round_edit
')
}}'
>
Nastavení a termíny
</a>
<a
class=
"btn btn-default"
href=
'{{ ctx.url_for('
org_round_edit
')
}}'
>
Nastavení a termíny
</a>
<a
class=
"btn btn-default"
href=
'{{ ctx.url_for('
org_edit_statement
')
}}'
>
Zadání
</a>
<a
class=
"btn btn-default"
href=
'{{ ctx.url_for('
org_edit_statement
')
}}'
>
Zadání
</a>
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment