From fb6e04456a520f67021cea8bfdb7025695bb0925 Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 14 Jun 2022 19:26:35 -0500 Subject: [PATCH] add teamsnap links to views --- .../templates/widgets/event-card.html | 5 +++- .../templates/lineup/widgets/lineup.html | 25 +++++++++++-------- teamsnap/lineup/urls.py | 12 ++++++++- teamsnap/lineup/views.py | 4 +++ 4 files changed, 34 insertions(+), 12 deletions(-) diff --git a/teamsnap/dashboard/templates/widgets/event-card.html b/teamsnap/dashboard/templates/widgets/event-card.html index ff6da85..f7cc99d 100644 --- a/teamsnap/dashboard/templates/widgets/event-card.html +++ b/teamsnap/dashboard/templates/widgets/event-card.html @@ -35,7 +35,10 @@ - + + + diff --git a/teamsnap/lineup/templates/lineup/widgets/lineup.html b/teamsnap/lineup/templates/lineup/widgets/lineup.html index 02debf0..8517262 100644 --- a/teamsnap/lineup/templates/lineup/widgets/lineup.html +++ b/teamsnap/lineup/templates/lineup/widgets/lineup.html @@ -6,18 +6,23 @@ {% csrf_token %}
{{ event.data.formatted_title }} -
- {{ event.data.start_date|date:"D, F j, g:i A" }}
- {{ event.data.location_name }} -
-
-
{{ availability_summary.data.player_going_count }}
-
{{ availability_summary.data.player_maybe_count }}
-
{{ availability_summary.data.player_not_going_count }}
-
{{ availability_summary.data.player_unknown_count }}
-
+
+ {{ event.data.start_date|date:"D, F j, g:i A" }}
+ {{ event.data.location_name }} +
+
+
{{ availability_summary.data.player_going_count }}
+
{{ availability_summary.data.player_maybe_count }}
+
{{ availability_summary.data.player_not_going_count }}
+
{{ availability_summary.data.player_unknown_count }}
+
+
+ + + +