fix all issues before deploy
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 47s
Tests / PHPUnit (push) Failing after 1m18s

This commit is contained in:
root
2026-08-25 03:10:44 -04:00
parent 5f5afe97ad
commit 9899af7b37
11 changed files with 515 additions and 37 deletions
@@ -49,17 +49,22 @@
text-align: left;
}
.enrollment-admin .issue-badge.adult-student,
.enrollment-admin .email-student-name.adult-student,
.enrollment-admin .adult-student-name {
background-color: #b02a37;
color: #fff;
}
.enrollment-admin .adult-student-name {
.enrollment-admin .adult-student-name,
.enrollment-admin .email-student-name {
display: inline-block;
border-radius: .25rem;
font-weight: 600;
padding: .15rem .35rem;
margin: .1rem .15rem .1rem 0;
}
.enrollment-admin .email-student-name.bg-dark {
color: #fff;
}
</style>
<?= $this->endSection() ?>
@@ -766,7 +771,10 @@ $reasonCodes = is_array($exceptionReasonCodes ?? null) ? $exceptionReasonCodes :
<?php if (!empty($example['students']) && is_array($example['students'])): ?>
<?php foreach ($example['students'] as $studentIndex => $student): ?>
<?= $studentIndex > 0 ? ', ' : '' ?>
<?php if (!empty($student['adult_student'])): ?>
<?php $studentIssueCode = strtoupper(trim((string) ($student['issue_code'] ?? ''))); ?>
<?php if ($studentIssueCode !== ''): ?>
<span class="email-student-name <?= esc(enrollment_admin_issue_badge_class($studentIssueCode)) ?>" title="<?= esc(enrollment_admin_flag_label($studentIssueCode)) ?>"><?= esc($student['name'] ?? '') ?></span>
<?php elseif (!empty($student['adult_student'])): ?>
<span class="adult-student-name"><?= esc($student['name'] ?? '') ?></span>
<?php else: ?>
<span><?= esc($student['name'] ?? '') ?></span>