fix job positions
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 48s
Tests / PHPUnit (push) Successful in 1m22s

This commit is contained in:
root
2026-09-03 13:01:36 -04:00
parent c70f6bdc6e
commit 9e2f858343
9 changed files with 75 additions and 5 deletions
+2 -1
View File
@@ -255,7 +255,7 @@
<?php foreach ($openPositions as $position): ?>
<?php
$positionId = (string) ($position['position_id'] ?? '');
$detailsUrl = site_url('careers/' . rawurlencode($positionId));
$detailsUrl = site_url('careers/' . rawurlencode($positionId) . '/details');
$applyUrl = site_url('careers/' . rawurlencode($positionId) . '/apply');
$meta = array_filter([
$position['department'] ?? '',
@@ -278,6 +278,7 @@
<?php if (!empty($position['description'])): ?>
<div class="small text-muted"><?= esc($position['description']) ?></div>
<?php endif; ?>
<div class="small text-muted fw-semibold mt-2"><?= esc(number_format((int) ($position['details_click_count'] ?? 0))) ?> views</div>
</div>
<div class="d-flex align-items-start gap-2 flex-shrink-0">
<a class="btn btn-outline-secondary btn-sm" href="<?= esc($detailsUrl) ?>">Details</a>