mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
make "pending" translatable
This commit is contained in:
@@ -64,12 +64,14 @@
|
||||
<tr>
|
||||
<td style="vertical-align: middle;" class='cron_<?php echo $cron->id; ?>'><?php echo $cron->id; ?></td>
|
||||
<td style="vertical-align: middle;"><?php echo $cron->description; ?></td>
|
||||
<td style="vertical-align: middle;"><?php
|
||||
if ($cron->enabled == '1') {
|
||||
if ($cron->status == 'healthy') { ?>
|
||||
<td style="vertical-align: middle;">
|
||||
<?php if ($cron->enabled == '1') {
|
||||
if ($cron->status == 'healthy') { ?>
|
||||
<span class="badge text-bg-success"><?= __("healthy"); ?></span>
|
||||
<?php } else if ($cron->status == 'failed') { ?>
|
||||
<span class="badge text-bg-danger"><?= __("failed"); ?></span>
|
||||
<?php } else if ($cron->status == 'pending') { ?>
|
||||
<span class="badge text-bg-warning"><?= __("pending"); ?></span>
|
||||
<?php } else { ?>
|
||||
<span class="badge text-bg-warning"><?php echo $cron->status; ?></span>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user