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

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
...@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment