|
|
|
|
@ -60,14 +60,18 @@ |
|
|
|
|
<div class="center"> |
|
|
|
|
<h1>{{ tournament.name }}</h1> |
|
|
|
|
<div> |
|
|
|
|
<h3><a href="/club/{{ tournament.club.name }}/">{{ tournament.club.name }}</a> | <a href="/club/{{ tournament.club.name }}/tournoi/{{ tournament.id }}/equipes/">Équipes</a><h3> |
|
|
|
|
</div> |
|
|
|
|
{% if tv %} |
|
|
|
|
<h3><a href="/tv/club/{{ tournament.club.name }}/">{{ tournament.club.name }}</a> | <a href="/tv/club/{{ tournament.club.name }}/tournoi/{{ tournament.id }}/equipes/">Équipes</a><h3> |
|
|
|
|
{% else %} |
|
|
|
|
<h3><a href="/club/{{ tournament.club.name }}/">{{ tournament.club.name }}</a> | <a href="/club/{{ tournament.club.name }}/tournoi/{{ tournament.id }}/equipes/">Équipes</a><h3> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
{% for match in live_matches %} |
|
|
|
|
<div class="match"> |
|
|
|
|
<div style="width: 100%;"> |
|
|
|
|
<div style="float: left;"> |
|
|
|
|
<h3>{{ match.title }}</h3> |
|
|
|
|
<h3>{{ match.title|default:"Match" }}</h3> |
|
|
|
|
</div> |
|
|
|
|
{% if match.isMatch or match.isBracket %} |
|
|
|
|
{% if match.isMatch %} |
|
|
|
|
@ -84,10 +88,6 @@ |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h3><a href="/match/{{ match.id }}/">STATISTIQUES</a><h3> |
|
|
|
|
</div> |
|
|
|
|
{% else %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h3><a href="/match/{{ match.id }}/">#{{ match.court }}</a><h3> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
@ -145,7 +145,7 @@ |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
<!-- <p id="demo"></p> --> |
|
|
|
|
{% if match.isMatch or match.isBracket %} |
|
|
|
|
{% if not match.isStatistic %} |
|
|
|
|
<p class="duration"> |
|
|
|
|
<div class="small"> {{ match.durationPrefix }}</div> |
|
|
|
|
<div class="big">{{ match.duration }}</div> |
|
|
|
|
@ -160,7 +160,7 @@ |
|
|
|
|
|
|
|
|
|
<div style="width: 100%;"> |
|
|
|
|
<div style="float: left;"> |
|
|
|
|
<h3>{{ match.title }}</h3> |
|
|
|
|
<h3>{{ match.title|default:"Match" }}</h3> |
|
|
|
|
</div> |
|
|
|
|
{% if match.isMatch or match.isBracket %} |
|
|
|
|
{% if match.isMatch %} |
|
|
|
|
@ -177,10 +177,6 @@ |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h3><a href="/match/{{ match.id }}/">STATISTIQUES</a><h3> |
|
|
|
|
</div> |
|
|
|
|
{% else %} |
|
|
|
|
<div style="float: right;"> |
|
|
|
|
<h3><a href="/match/{{ match.id }}/">#{{ match.court }}</a><h3> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
@ -238,7 +234,7 @@ |
|
|
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% if match.isMatch or match.isBracket %} |
|
|
|
|
{% if not match.isStatistic %} |
|
|
|
|
<p class="duration"> |
|
|
|
|
<div class="small"> {{ match.durationPrefix }}</div> |
|
|
|
|
<div class="big">{{ match.duration }}</div> |
|
|
|
|
|