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
Martin Mareš
Odevzdávací Systém MO
Commits
957ff1b4
Commit
957ff1b4
authored
3 years ago
by
Jan Prachař
Browse files
Options
Downloads
Patches
Plain Diff
user_index: Stav soutěže přesunut do panel title + přidán termín kola do patičky
parent
204f0da7
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/user_index.html
+5
-2
5 additions, 2 deletions
mo/web/templates/user_index.html
with
5 additions
and
2 deletions
mo/web/templates/user_index.html
+
5
−
2
View file @
957ff1b4
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
class=
"panel panel-default"
class=
"panel panel-default"
{%
endif
%}
>
{%
endif
%}
>
<div
class=
"panel-heading"
>
<div
class=
"panel-heading"
>
<small
class=
"pull-right"
>
{{ contest.ct_long_state() }}
</small>
<h4
class=
"panel-title"
>
{{ round.name }}
<b>
{{round.category}}
</b>
{{ contest.place.name_locative() if contest.place.level > 0 else '' }}
</h4>
<h4
class=
"panel-title"
>
{{ round.name }}
<b>
{{round.category}}
</b>
{{ contest.place.name_locative() if contest.place.level > 0 else '' }}
</h4>
</div>
</div>
<div
class=
"panel-body"
>
<div
class=
"panel-body"
>
...
@@ -32,8 +33,6 @@
...
@@ -32,8 +33,6 @@
{% elif pion.state != PartState.active %}
{% elif pion.state != PartState.active %}
<p>
Stav vaší účasti: {{ pion.state.friendly_name() }}
<p>
Stav vaší účasti: {{ pion.state.friendly_name() }}
{% endif %}
{% endif %}
<p>
{{round.name}} {{ contest.ct_long_state()|replace("opravuje se", "se opravuje")|replace("připravuje se", "se připravuje") }}.
<p>
{% if contest.ct_task_statement_available() %}
{% if contest.ct_task_statement_available() %}
<a
class=
'btn btn-default'
href=
'{{ url_for('
user_task_statement
',
id=
contest.contest_id)
}}'
>
<a
class=
'btn btn-default'
href=
'{{ url_for('
user_task_statement
',
id=
contest.contest_id)
}}'
>
<span
class=
"glyphicon glyphicon-file"
></span>
<span
class=
"glyphicon glyphicon-file"
></span>
...
@@ -66,6 +65,10 @@
...
@@ -66,6 +65,10 @@
</a>
</a>
{% endif %}
{% endif %}
</div>
</div>
<div
class=
"panel-footer"
>
<span
class=
"glyphicon glyphicon-time"
></span>
{{ round.ct_submit_end|timeformat_date|none_value('Termín nezadán') }}
</div>
</div>
</div>
{% endfor %}
{% endfor %}
{% else %}
{% else %}
...
...
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