mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 22:34:24 +02:00
Fix "since since" in the monitoring health view
Because timeSince() now includes the prefix, the prefix has to be removed from the format string. refs #6778
This commit is contained in:
parent
44ee4cd609
commit
a84b3acee7
@ -54,7 +54,10 @@ $cp = $this->checkPerformance()->create($this->checkperformance);
|
||||
<?php if ((bool) $this->programStatus->is_currently_running === true): ?>
|
||||
<div class="backend-running">
|
||||
<?= sprintf(
|
||||
$this->translate('%s has been up and running with PID %d since %s'),
|
||||
$this->translate(
|
||||
'%1$s has been up and running with PID %2$d %3$s',
|
||||
'Last format parameter represents the time running'
|
||||
),
|
||||
$this->backendName,
|
||||
$this->programStatus->process_id,
|
||||
$this->timeSince($this->programStatus->program_start_time)) ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user