main
Razmig Sarkissian 2 years ago
parent 587b39bc1c
commit 3bd71a1a0e
  1. 2
      scores/templates/scores/teams.html
  2. 4
      scores/urls.py

@ -76,7 +76,7 @@
{% for team in tournament.teams %}
<tr height='100%' style="background-color:{{ team.background_color }};">
<td class="score">#{{ team.position }}</td>
<td class="name" width='50%'>{{ team.name|linebreaksbr }}</td>
<td class="name" width='40%'>{{ team.name|linebreaksbr }}</td>
<td class="score">{{ team.rank }}</td>
<td class="name" width='20%'>{{ team.position_label }}</td>

@ -34,17 +34,13 @@ urlpatterns = [
path('club/<str:club_name>/<str:tournament_shortname>/equipes/', views.teams_club_name_tournament_name, name='teams'),
path('tournoi/<str:tournament_shortname>/equipes/', views.teams_tournament_name, name='teams'),
path('tournoi/<int:tournament_id>/equipes/', views.teams_tournament, name='teams'),
path('club/<str:club_name>/tournoi/<int:tournament_id>/equipes/', views.teams_club_name_tournament, name='teams'),
path('club/<str:club_name>/<str:tournament_shortname>/', views.club_name_tournament_name, name='tournament'),
path('club/<str:club_name>/tournoi/<int:tournament_id>/', views.club_name_tournament, name='tournament'),
path('club/<str:club_name>/', views.club_name, name='club'),
path('', views.index, name='index'),
path('club/<int:club_id>/', views.club, name='club'),
path('club/<str:club_name>/', views.club_name, name='club'),
path('club/<str:club_name>/tournoi/<int:tournament_id>/', views.club_name_tournament, name='tournament'),
path('club/<str:club_name>/<str:tournament_shortname>/', views.club_name_tournament_name, name='tournament'),
path('tournoi/<int:tournament_id>/', views.tournament, name='tournament'),
path('tournoi/<str:tournament_shortname>/', views.tournament_name, name='tournament'),
]

Loading…
Cancel
Save