Design fixes

main
Yasen Pramatarov 2025-12-31 12:53:38 +02:00
parent bbceb44c3d
commit 49ba04bffa
2 changed files with 2 additions and 2 deletions

View File

@ -449,7 +449,7 @@ if (!empty($adminOverviewStatuses) && is_array($adminOverviewStatuses)) {
<li> <li>
<?= htmlspecialchars($dep) ?> <?= htmlspecialchars($dep) ?>
<?php if ($depStatusBadge !== ''): ?> <?php if ($depStatusBadge !== ''): ?>
<span class="tm-admin-dep-status">(<?= $depStatusBadge ?>)</span> <span class="tm-admin-dep-status"><?= $depStatusBadge ?></span>
<?php endif; ?> <?php endif; ?>
</li> </li>
<?php endforeach; ?> <?php endforeach; ?>

View File

@ -275,7 +275,7 @@ try {
if (!empty($maintMsg)) { if (!empty($maintMsg)) {
$custom .= ' <em>' . htmlspecialchars($maintMsg) . '</em>'; $custom .= ' <em>' . htmlspecialchars($maintMsg) . '</em>';
} }
$custom .= ' Control it in <a href="' . htmlspecialchars($app_root) . '?page=admin">Admin center</a>'; $custom .= ' Control it from the <a href="' . htmlspecialchars($app_root) . '?page=admin">Admin center</a>';
// Non-dismissible and small, do not sanitize to allow link and <em> // Non-dismissible and small, do not sanitize to allow link and <em>
Feedback::flash('SYSTEM', 'MAINTENANCE_ON', $custom, false, true, false); Feedback::flash('SYSTEM', 'MAINTENANCE_ON', $custom, false, true, false);
} }