Do not display mouse-over effect in comment multi-view

This commit is contained in:
Matthias Jentsch 2015-05-21 16:28:00 +02:00
parent 8ce9989243
commit 54f72377c5
1 changed files with 3 additions and 4 deletions

View File

@ -1,11 +1,10 @@
<?php if ($comment->objecttype === 'service'): ?> <?php if ($comment->objecttype === 'service'): ?>
<?= $this->icon('service', $this->translate('Service')); ?> <?= $this->icon('service', $this->translate('Service')); ?>
<?= $this->link()->service( <?= sprintf(
$comment->service_description, $this->translate('%s on %s', 'Service running on host'),
$comment->service_display_name, $comment->service_display_name,
$comment->host_name,
$comment->host_display_name $comment->host_display_name
); ?> ) ?>
<?php else: ?> <?php else: ?>
<?= $this->icon('host', $this->translate('Host')); ?> <?= $this->icon('host', $this->translate('Host')); ?>
<?= $this->link()->host($comment->host_name, $comment->host_display_name); ?> <?= $this->link()->host($comment->host_name, $comment->host_display_name); ?>