From f1149c8345449385f6b8ccabaf6e121b2dadfafc Mon Sep 17 00:00:00 2001 From: ramazanim Date: Thu, 13 Jun 2024 15:32:34 +0000 Subject: [PATCH 1/5] added graduation-flag branch --- app/templates/admin/cceMinor.html | 6 +++++- app/templates/eventNav.html | 8 ++++---- app/templates/eventView.html | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/templates/admin/cceMinor.html b/app/templates/admin/cceMinor.html index 1f46ed4b7..d462b7fe0 100644 --- a/app/templates/admin/cceMinor.html +++ b/app/templates/admin/cceMinor.html @@ -28,7 +28,11 @@

CCE Minor Progress

{% for student in sustainedEngagement %} - {{ student.firstName }} {{ student.lastName }} + {{ student.firstName }} {{ student.lastName }} + + + + {{ student.engagementCount }}/4 {{ student.hasSummer }} diff --git a/app/templates/eventNav.html b/app/templates/eventNav.html index 6f92cceda..a271349c5 100644 --- a/app/templates/eventNav.html +++ b/app/templates/eventNav.html @@ -18,12 +18,12 @@ {% if g.current_user.isAdmin %} {{ eventheader(page_title, event, 'large', isNewEvent) }} {% endif %} - {% set alertClass = "alert-danger" if eventPast else "alert-warning"%} - {% set display = "" if eventPast or event.isCanceled else "d-none"%} + {% set alertClass = "alert-danger" if isEventPast else "alert-warning"%} + {% set display = "" if isEventPast or event.isCanceled else "d-none"%}