From e773407de95aaf06e496a31bdf0d539e9f49009d Mon Sep 17 00:00:00 2001 From: Zorex Salvo Date: Mon, 15 Sep 2025 13:28:15 +0800 Subject: [PATCH] Fix: Correct template variable for committees Updated the our_team.html template to use the correct 'committees' variable instead of the misspelled 'commitees'. This ensures committee data is displayed properly and aligns with the updated view context. --- landing/templates/landing/our_team.html | 42 ++++++++++++++----------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/landing/templates/landing/our_team.html b/landing/templates/landing/our_team.html index 8e625ef..09ee789 100644 --- a/landing/templates/landing/our_team.html +++ b/landing/templates/landing/our_team.html @@ -94,6 +94,7 @@ > Core Volunteers +
{% for committee in committees %} -
-

- {{ committee.name }} -

-
    - {% for volunteer in commitee.volunteers.all %} -
  • {{ volunteer.display_name }}
  • - {% endfor %} -
-
+ {% if forloop.counter0|divisibleby:3 %} +
+
+ {% endif %} +
+

+ {{ committee.name }} +

+
    + {% for volunteer in committee.volunteers.all %} +
  • {{ volunteer }}
  • + {% endfor %} +
+
{% endfor %}
+