update
This commit is contained in:
@@ -90,42 +90,6 @@ $pastTotal = max(0, (int) ($pastPagination['total'] ?? 0));
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="mt-16">
|
||||
<h3 class="section-title"><?= $e($t('settings.cron.future_jobs_title')) ?></h3>
|
||||
<div class="table-wrap mt-12">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th><?= $e($t('settings.cron.fields.job_type')) ?></th>
|
||||
<th><?= $e($t('settings.cron.fields.status')) ?></th>
|
||||
<th><?= $e($t('settings.cron.fields.priority')) ?></th>
|
||||
<th><?= $e($t('settings.cron.fields.scheduled_at')) ?></th>
|
||||
<th><?= $e($t('settings.cron.fields.attempts')) ?></th>
|
||||
<th><?= $e($t('settings.cron.fields.last_error')) ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if ($futureJobsList === []): ?>
|
||||
<tr><td class="muted" colspan="7"><?= $e($t('settings.cron.empty_future_jobs')) ?></td></tr>
|
||||
<?php else: ?>
|
||||
<?php foreach ($futureJobsList as $item): ?>
|
||||
<tr>
|
||||
<td><?= $e((string) ($item['id'] ?? 0)) ?></td>
|
||||
<td><?= $e((string) ($item['job_type'] ?? '')) ?></td>
|
||||
<td><?= $e((string) ($item['status'] ?? '')) ?></td>
|
||||
<td><?= $e((string) ($item['priority'] ?? '')) ?></td>
|
||||
<td><?= $e((string) ($item['scheduled_at'] ?? '')) ?></td>
|
||||
<td><?= $e((string) ($item['attempts'] ?? 0) . '/' . (string) ($item['max_attempts'] ?? 0)) ?></td>
|
||||
<td><?= $e((string) ($item['last_error'] ?? '')) ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="mt-16">
|
||||
<h3 class="section-title"><?= $e($t('settings.cron.past_jobs_title')) ?></h3>
|
||||
<div class="table-wrap mt-12">
|
||||
|
||||
Reference in New Issue
Block a user