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
@@ -13,7 +13,7 @@
<?php if (session('error')): ?><div class="alert alert-danger"><?= esc(session('error')) ?></div><?php endif; ?>
<div class="table-responsive">
<table class="table table-striped table-bordered no-mgmt-sticky">
<thead><tr><th>Title</th><th>Department</th><th>Location</th><th>Type</th><th>Status</th><th>Post Date</th><th>Actions</th></tr></thead>
<thead><tr><th>Title</th><th>Department</th><th>Location</th><th>Type</th><th>Status</th><th>Post Date</th><th>Detail Clicks</th><th>Actions</th></tr></thead>
<tbody>
<?php foreach ($positions as $position): ?>
<?php
@@ -32,6 +32,7 @@
<td><?= esc($position['employment_type'] ?? '') ?></td>
<td><span class="badge <?= esc($statusBadgeClass) ?>"><?= esc(ucfirst($status)) ?></span></td>
<td><?= !empty($position['posted_at']) ? esc(date('M j, Y', strtotime((string) $position['posted_at']))) : '&mdash;' ?></td>
<td><?= esc(number_format((int) ($position['details_click_count'] ?? 0))) ?></td>
<td>
<a class="btn btn-sm btn-outline-primary" href="<?= site_url('administrator/job-postings/positions/' . $position['position_id'] . '/edit') ?>">Edit</a>
<?php if ($status === 'open'): ?>