Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
[Tournament] Clarify registering into full tournaments
Browse files Browse the repository at this point in the history
  • Loading branch information
halfa committed Jan 19, 2016
1 parent 48cd9fb commit bbd6994
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,16 @@
<hr style="width:960px">
<br>
{% elseif t.isOpenedNow and not t.getLocked %}

<a class="list-choice" href="{{ path('insalan_tournament_user_enroll', {tournament: t.id}) }}">
<img class="pull-left" style="width: 50px; padding-right: 20px" src="{{ asset(t.getUploadDir() ~ t.logoPath) }}" />
<h2>{{ t.name }}{% if t.isFull %} - COMPLET {% endif %}</h2>
{% if t.participantType == 'team' %}
<a href="{{ path('insalan_tournament_manager_setname', {tournament: t.id}) }}" class="btn2" style="float: right">Inscription manager</a>
{% endif %}
{% if t.isFull and t.participantType == 'team' %}
<a href="{{ path('insalan_tournament_user_enroll', {tournament: t.id}) }}" class="btn2" style="float: right">Rejoindre une équipe</a>
{% endif %}
{% if not t.isFull %}<a href="{{ path('insalan_tournament_user_enroll', {tournament: t.id}) }}" class="btn2" style="float: right">Inscription joueur</a>{% endif %}
<p>
{{ t.teamMinPlayer }} joueur(s)
Expand Down

0 comments on commit bbd6994

Please sign in to comment.