mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
CommentDetail: Properly differentiate comments and acknowledgements
fixes #466
This commit is contained in:
parent
cc9de13f7d
commit
020139b472
1 changed files with 3 additions and 1 deletions
|
|
@ -44,7 +44,9 @@ class CommentDetail extends BaseHtmlElement
|
|||
$details[] = Html::tag(
|
||||
'p',
|
||||
Html::sprintf(
|
||||
t('This acknowledgement expires %s.', '..<time-until>'),
|
||||
$this->comment->entry_type === 'ack'
|
||||
? t('This acknowledgement expires %s.', '..<time-until>')
|
||||
: t('This comment expires %s.', '..<time-until>'),
|
||||
new TimeUntil($this->comment->expire_time)
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue