19 lines
664 B
PHTML
19 lines
664 B
PHTML
<?php if ($comment->objecttype === 'service'): ?>
|
|
<?= $this->icon('service', $this->translate('Service')); ?>
|
|
<?= $this->link()->service(
|
|
$comment->service_description,
|
|
$comment->service_display_name,
|
|
$comment->host_name,
|
|
$comment->host_display_name
|
|
); ?>
|
|
<?php else: ?>
|
|
<?= $this->icon('host', $this->translate('Host')); ?>
|
|
<?= $this->link()->host($comment->host_name, $comment->host_display_name); ?>
|
|
<?php endif ?>
|
|
|
|
<br>
|
|
<?= $this->icon('comment', $this->translate('Comment')); ?> <?= isset($comment->author)
|
|
? '[' . $this->escape($comment->author) . '] '
|
|
: '';
|
|
?><?= $this->escape($comment->comment); ?>
|