diff --git a/tournaments/models/tournament.py b/tournaments/models/tournament.py index b499452..eb14c99 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -603,7 +603,7 @@ class TeamSummon: def formatted_date(self): if self.date: timezoned_datetime = timezone.localtime(self.date) - return formats.date_format(timezoned_datetime, format='H:i') + return formats.date_format(timezoned_datetime, format='l H:i') else: return None diff --git a/tournaments/static/tournaments/css/style.css b/tournaments/static/tournaments/css/style.css index f43cd3c..dae65aa 100644 --- a/tournaments/static/tournaments/css/style.css +++ b/tournaments/static/tournaments/css/style.css @@ -629,7 +629,7 @@ h-margin { .table-row-3-colums-summons { display: grid; - grid-template-columns: 1px auto 70px 70px; + grid-template-columns: 1px auto 150px 70px; /* first column is a hack */ align-items: center; /* Vertically center the content within each column */ @@ -640,7 +640,7 @@ h-margin { screen and (min-width: 80em) { .table-row-4-colums { display: grid; - grid-template-columns: 1px auto 50px 70px 180px; + grid-template-columns: 1px auto 50px 150px 180px; /* first column is a hack */ align-items: center; /* Vertically center the content within each column */ diff --git a/tournaments/templates/tournaments/summon_row.html b/tournaments/templates/tournaments/summon_row.html index 9b6d1fd..136c334 100644 --- a/tournaments/templates/tournaments/summon_row.html +++ b/tournaments/templates/tournaments/summon_row.html @@ -8,6 +8,6 @@ {% endfor %} -
{{ summon.date|date:'H:i' }}
+
{{ summon.date|date:'l H:i' }}
{{ summon.stage }}
diff --git a/tournaments/templates/tournaments/team_row.html b/tournaments/templates/tournaments/team_row.html index 38937eb..524a9e6 100644 --- a/tournaments/templates/tournaments/team_row.html +++ b/tournaments/templates/tournaments/team_row.html @@ -12,7 +12,7 @@ {% elif tournament.hide_weight %}
{% else %} -
{{ team.weight }}
+
{{ team.weight }}
{% endif %}
{{ team.stage }}