mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 15:24:05 +02:00
Comments list: display the absolute expire date and time in tooltips
refs #10277
This commit is contained in:
parent
97b5800f32
commit
c4610ab05d
@ -38,8 +38,9 @@
|
|||||||
<span class="comment-icons" data-base-target="_self">
|
<span class="comment-icons" data-base-target="_self">
|
||||||
<?= $comment->persistent ? $this->icon('attach', 'This comment is persistent.') : '' ?>
|
<?= $comment->persistent ? $this->icon('attach', 'This comment is persistent.') : '' ?>
|
||||||
<?= $comment->expiration ? $this->icon('clock', sprintf(
|
<?= $comment->expiration ? $this->icon('clock', sprintf(
|
||||||
$this->translate('This comment expires %s.'),
|
$this->translate('This comment expires on %s at %s.'),
|
||||||
$this->timeUntil($comment->expiration)
|
$this->formatDate($comment->expiration),
|
||||||
|
$this->formatTime($comment->expiration)
|
||||||
)) : '' ?>
|
)) : '' ?>
|
||||||
<?php if (isset($delCommentForm)) {
|
<?php if (isset($delCommentForm)) {
|
||||||
$deleteButton = clone $delCommentForm;
|
$deleteButton = clone $delCommentForm;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user