parent
c70deac834
commit
e6526cbb8f
@ -1,11 +1,13 @@ |
||||
|
||||
<nav class="margin10"> |
||||
<a href="{% url 'index' %}">Accueil</a> |
||||
<a href="{% url 'clubs' %}">Clubs</a> |
||||
<a href="{% url 'index' %}" class="orange">Accueil</a> |
||||
<a href="{% url 'clubs' %}" class="orange">Clubs</a> |
||||
{% if user.is_authenticated %} |
||||
<a href="{% url 'my-tournaments' %}">Mes tournois</a> |
||||
<a href="{% url 'my-tournaments' %}" class="orange">Mes tournois</a> |
||||
<a href="{% url 'profile' %}">Mon compte</a> |
||||
{% else %} |
||||
<a href="{% url 'login' %}">Se connecter</a> |
||||
{% endif %} |
||||
|
||||
<a href="{% url 'download' %}">Ajouter vos tournois</a> |
||||
</nav> |
||||
|
||||
@ -1,32 +1,30 @@ |
||||
<nav class="margin10"> |
||||
{% if user.is_authenticated %} |
||||
<a href="{% url 'profile' %}">Mon compte</a> |
||||
{% else %} |
||||
<a href="{% url 'login' %}">Se connecter</a> |
||||
{% endif %} |
||||
</nav> |
||||
|
||||
<nav class="margin10"> |
||||
|
||||
<a href="{% url 'tournament-info' tournament.id %}" class="topmargin5">Informations</a> |
||||
<a href="{% url 'tournament-info' tournament.id %}" class="topmargin5 orange">Informations</a> |
||||
|
||||
{% if tournament.display_matches or tournament.display_group_stages %} |
||||
<a href="{% url 'tournament' tournament.id %}" class="topmargin5">Matches</a> |
||||
<a href="{% url 'tournament' tournament.id %}" class="topmargin5 orange">Matches</a> |
||||
{% endif %} |
||||
|
||||
{% if tournament.display_group_stages %} |
||||
<a href="{% url 'group-stages' tournament.id %}" class="topmargin5">Poules</a> |
||||
<a href="{% url 'group-stages' tournament.id %}" class="topmargin5 orange">Poules</a> |
||||
{% endif %} |
||||
|
||||
{% if tournament.display_summons %} |
||||
<a href="{% url 'tournament-summons' tournament.id %}" class="topmargin5">Convocations</a> |
||||
<a href="{% url 'tournament-summons' tournament.id %}" class="topmargin5 orange">Convocations</a> |
||||
{% endif %} |
||||
|
||||
{% if tournament.display_teams %} |
||||
<a href="{% url 'tournament-teams' tournament.id %}" class="topmargin5">Équipes</a> |
||||
<a href="{% url 'tournament-teams' tournament.id %}" class="topmargin5 orange">Équipes</a> |
||||
{% endif %} |
||||
|
||||
{% if tournament.display_rankings %} |
||||
<a href="{% url 'tournament-rankings' tournament.id %}" class="topmargin5">Classement</a> |
||||
<a href="{% url 'tournament-rankings' tournament.id %}" class="topmargin5 orange">Classement</a> |
||||
{% endif %} |
||||
|
||||
{% if user.is_authenticated %} |
||||
<a href="{% url 'profile' %}" class="topmargin5">Mon compte</a> |
||||
{% else %} |
||||
<a href="{% url 'login' %}" class="topmargin5">Se connecter</a> |
||||
{% endif %} |
||||
</nav> |
||||
|
||||
Loading…
Reference in new issue