apply the school year concept
Tests / PHPUnit (push) Failing after 1m19s

This commit is contained in:
root
2026-07-14 00:59:00 -04:00
parent 504c3bc9f9
commit feb1b29a32
73 changed files with 4288 additions and 620 deletions
+6 -1
View File
@@ -3,7 +3,12 @@
<div class="container mt-4">
<h3>Competition Winners</h3>
<p class="text-muted">Published competition winner announcements.</p>
<p class="text-muted">
Published competition winner announcements
<?php if (!empty($schoolYear)): ?>
for <?= esc($schoolYear) ?>
<?php endif; ?>.
</p>
<div class="list-group">
<?php foreach ($competitions as $c): ?>
+3
View File
@@ -7,6 +7,9 @@
<h3><?= esc($competition['title']) ?></h3>
<div class="text-muted mb-3">
Published: <?= esc($competition['published_at'] ?? '') ?>
<?php if (!empty($schoolYear)): ?>
<span class="ms-2">School Year: <?= esc($schoolYear) ?></span>
<?php endif; ?>
</div>
<?php if (empty($winnersByClass)): ?>