From 3c6a9037973e18684dffba3711781850ddbdee5c Mon Sep 17 00:00:00 2001 From: Rebeka Tamberga Date: Wed, 30 Oct 2024 12:58:30 +0000 Subject: [PATCH] Teams avaialabitiy Added a feature where it tells the user that there are no teams currently available, when they've joined all the possible teams that were available before. --- ap_src/templates/api_pages/teams.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ap_src/templates/api_pages/teams.html b/ap_src/templates/api_pages/teams.html index 5c5c4638..4d41014f 100644 --- a/ap_src/templates/api_pages/teams.html +++ b/ap_src/templates/api_pages/teams.html @@ -1,7 +1,8 @@ {% load static %}
-

Teams

+

Teams

+ {% if team_data %} {% for team in team_data %}
@@ -15,5 +16,15 @@

Teams

{% endfor %} + {% else %} +
+
+ There are no teams currently available. +
+
+ {% endif %} + + Go back to joined teams +
\ No newline at end of file