From ba85efc3ef3adaea7d9eae8436deb9dff3ac10e1 Mon Sep 17 00:00:00 2001 From: BhushanSah Date: Thu, 16 Jul 2026 13:21:41 -0400 Subject: [PATCH] Separate zero-hour events into Education and Training section --- app/templates/main/serviceTranscript.html | 61 +++++++++++++---------- 1 file changed, 35 insertions(+), 26 deletions(-) diff --git a/app/templates/main/serviceTranscript.html b/app/templates/main/serviceTranscript.html index 5631f32b0..243876d7f 100644 --- a/app/templates/main/serviceTranscript.html +++ b/app/templates/main/serviceTranscript.html @@ -110,32 +110,6 @@
{{ programTitle }}
{% endif %} {% endfor %} - {% if zeroHourEvents %} - {% set ns = namespace(filtered=[]) %} - {% for event in zeroHourEvents %} - {% if event.program.programName != "Bonner Scholars" %} - {% set _ = ns.filtered.append(event) %} - {% endif %} - {% endfor %} - - {% if ns.filtered %} -
-
Events with No Hours Earned
- {% for event in ns.filtered %} -
- - {{ event.term.description }} — {{ event.name }} - 0 hour - - {% if event.program.programName != "CELTS Sponsored Events" %} -

{{ event.program.description }}

- More Information - {% endif %} -
- {% endfor %} -
- {% endif %} - {% endif %} - {% else %}
No Volunteer Record
@@ -144,6 +118,41 @@
No Volunteer Record
+ {% if zeroHourEvents %} + {% set ns = namespace(filtered=[]) %} + + {% for event in zeroHourEvents %} + {% if event.program.programName != "Bonner Scholars" %} + {% set _ = ns.filtered.append(event) %} + {% endif %} + {% endfor %} + + {% if ns.filtered %} +
+
+
Education & Training
+
+ +
+ {% for event in ns.filtered %} +
+
{{ event.name }}
+ + + {{ event.term.description }} — Attendance recorded, 0 service hours + + + {% if event.program.programName != "CELTS Sponsored Events" %} +

{{ event.program.description }}

+ More Information + {% endif %} +
+ {% endfor %} +
+
+ {% endif %} + {% endif %} + {% if slCourses.exists() %}