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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Commits
fbc17cb5
Commit
fbc17cb5
authored
4 years ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
Uživatelská část nepadá, pokud je feedback dosud nezpracované nekorektní PDF
parent
954fa0b3
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
mo/web/templates/user_contest.html
+2
-2
2 additions, 2 deletions
mo/web/templates/user_contest.html
mo/web/templates/user_contest_task.html
+1
-1
1 addition, 1 deletion
mo/web/templates/user_contest_task.html
with
3 additions
and
3 deletions
mo/web/templates/user_contest.html
+
2
−
2
View file @
fbc17cb5
...
...
@@ -90,8 +90,8 @@ Pokud si s tvorbou PDF nevíte rady, zkuste se podívat do <a href='https://docs
<td>
{% if sol.final_feedback_obj %}
<a
href=
'{{ url_for('
user_paper
',
contest_id=
contest.contest_id,
paper_id=
sol.final_feedback_obj.paper_id)
}}'
>
{{
(
sol.final_feedback_obj.uploaded_at
if sol.final_feedback_obj else None)
|timeformat }}
({{ sol.final_feedback_obj.pages|inflected('strana', 'strany', 'stran') }})
{{ sol.final_feedback_obj.uploaded_at|timeformat }}
{% if sol.final_feedback_obj.pages != None %}
({{ sol.final_feedback_obj.pages|inflected('strana', 'strany', 'stran') }})
{% endif %}
</a>
{% endif %}
{% if sol.note %}
<span
title=
"Existuje poznámka k řešení, viz detail úlohy"
>
🛈
</span>
{% endif %}
...
...
This diff is collapsed.
Click to expand it.
mo/web/templates/user_contest_task.html
+
1
−
1
View file @
fbc17cb5
...
...
@@ -47,7 +47,7 @@
<tr><th>
Získané body:
<td>
{% if sol.points %}{{ sol.points|inflected("bod", "body", "bodů") }}{% else %}nebyly přiděleny žádné body{% endif %}
{% if sol.final_feedback_obj %}
<tr><th>
Opravené řešení:
<td><a
class=
"btn btn-xs btn-primary"
href=
"{{ url_for('user_paper', contest_id=contest.contest_id, paper_id=sol.final_feedback_obj.paper_id) }}"
>
Zobrazit
</a>
({{ sol.final_feedback_obj.pages|inflected('stránka', 'stránky', 'stránek') }}, {{ sol.final_feedback_obj.bytes }} bajtů)
{% if sol.final_feedback_obj.pages != None %}
({{ sol.final_feedback_obj.pages|inflected('stránka', 'stránky', 'stránek') }}, {{ sol.final_feedback_obj.bytes }} bajtů)
{% endif %}
{% endif %}
{% if sol.note %}
<tr><th>
Poznámka od organizátorů:
<td
style=
"white-space: pre-line;"
>
{{ sol.note }}
...
...
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
register
or
sign in
to comment