Skip to content
Snippets Groups Projects
Commit 61261833 authored by Jan Prachař's avatar Jan Prachař
Browse files

Méně výrazně použitý název úlohy

parent b3c569c6
Branches
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ class Context:
elements.append((
url_for('org_contest_task', ct_id=self.ct_id, site_id=self.site_id, task_id=self.task_id) if self.contest
else url_for('org_round_task_edit', round_id=self.round_id, task_id=self.task_id),
f"Úloha {self.task.code}: {self.task.name}"
f"Úloha {self.task.code}"
))
if self.user and not self.task:
elements.append((url_for('org_contest_user', ct_id=self.ct_id, user_id=self.user_id), self.user.full_name()))
......
......
......@@ -4,7 +4,7 @@
{% set allow_upload_solutions=rights.can_upload_solutions() %}
{% set allow_upload_feedback=rights.can_upload_feedback() %}
{% block title %}{{ "Zadávání bodů" if points_form else "Založení řešení" if create_form else "Odevzdaná řešení" }} úlohy {{ ctx.task.code }}: {{ ctx.task.name }}{% endblock %}
{% block title %}{{ "Zadávání bodů" if points_form else "Založení řešení" if create_form else "Odevzdaná řešení" }} úlohy {{ ctx.task.code }}<br><small>{{ ctx.task.name }}</small>{% endblock %}
{% block breadcrumbs %}
{{ ctx.breadcrumbs(action="Zadávání bodů" if points_form else "Založení řešení" if create_form else None) }}
{% endblock %}
......
......
......@@ -4,7 +4,7 @@
{% set allow_upload_solutions=rights.can_upload_solutions() %}
{% set allow_upload_feedback=rights.can_upload_feedback() %}
{% block title %}{{ ctx.user.full_name() }} – řešení úlohy {{ ctx.task.code }}: {{ ctx.task.name }}{% endblock %}
{% block title %}{{ ctx.user.full_name() }} – řešení úlohy {{ ctx.task.code }}<br><small>{{ ctx.task.name }}</small>{% endblock %}
{% block breadcrumbs %}
{{ ctx.breadcrumbs(action=ctx.user.full_name()) }}
{% endblock %}
......
......
......@@ -40,7 +40,7 @@ finální (ve výchozím stavu poslední nahrané).{% elif rights.can_upload_sol
<tr>
{% endif %}
<td>{% if for_user %}
<a href='{{ ctx.url_for('org_submit_list', task_id=task.task_id) }}'>{{ task.code }} {{ task.name }}</a>
<a href='{{ ctx.url_for('org_submit_list', task_id=task.task_id) }}'>{{ task.code }}: {{ task.name }}</a>
{% else %}
{{ u|pion_link(contest.contest_id) }}{{ u|user_flags }}</a>
{% endif %}
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment