fix all issues before deploy
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user