diff --git a/modules/monitoring/application/views/scripts/hosts/show.phtml b/modules/monitoring/application/views/scripts/hosts/show.phtml index 4c1d70ff6..c8a4f9484 100644 --- a/modules/monitoring/application/views/scripts/hosts/show.phtml +++ b/modules/monitoring/application/views/scripts/hosts/show.phtml @@ -23,7 +23,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm; icon('reschedule') ?> translate('Commands') ?> - + translate('Issue commands to all %d selected hosts:'), count($objects)) ?> translate('No hosts matching the filter'); ?> @@ -36,7 +36,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
qlink( - $this->translate('Reschedule the next check'), + $this->translate('Reschedule next checks'), $rescheduleAllLink, null, array('icon' => 'reschedule') @@ -45,7 +45,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
qlink( - $this->translate('Schedule a downtime'), + $this->translate('Schedule downtimes'), $downtimeAllLink, null, array('icon' => 'plug') @@ -54,7 +54,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
qlink( - $this->translate('Submit a passive check result'), + $this->translate('Submit passive check results'), $processCheckResultAllLink, null, array('icon' => 'reply') @@ -63,7 +63,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
qlink( - $this->translate('Add a comment'), + $this->translate('Add comments'), $addCommentLink, null, array('icon' => 'comment') @@ -85,7 +85,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;

translate('There are %s unhandled problems. Issue commands to the problematic hosts:'), '' . $unhandledCount . '' ) ?> @@ -142,7 +142,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm; 0): ?> -

translate('Downtimes') ?>

+

icon('plug', $this->translate('Downtimes'))?> translate('Downtimes')?>

translatePlural( '%u Host currently in downtime.', @@ -161,7 +161,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm; getComments())) > 0): ?> -

translate('Comments') ?>

+

icon('comment', $this->translate('Comments'))?> translate('Comments') ?>

translatePlural( diff --git a/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml b/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml index 39445e277..c2f016ceb 100644 --- a/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/host/objects-header.phtml @@ -74,7 +74,7 @@ $hiddenRich = array();

- + translate('%d more ...'), count($hidden)) ?>
diff --git a/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml b/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml index fe23cde2c..4501f0e7e 100644 --- a/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/service/objects-header.phtml @@ -34,7 +34,9 @@ use Icinga\Web\Url; service_state, true); ?>
+ + service_handled && $service->service_state > 0): ?> icon('attention-alt', $this->translate('Unhandled')) ?> @@ -60,6 +62,7 @@ use Icinga\Web\Url; service_last_comment) && $service->service_last_comment !== null): ?> icon('comment', $this->translate('Last Comment: ') . $service->service_last_comment) ?> + escape($service->getName()); ?> escape($service->getHost()->getName()); ?> @@ -72,7 +75,7 @@ use Icinga\Web\Url;
- + translate('%d more ...'), count($hidden)) ?>
diff --git a/modules/monitoring/application/views/scripts/services/show.phtml b/modules/monitoring/application/views/scripts/services/show.phtml index d35125254..08e1737f3 100644 --- a/modules/monitoring/application/views/scripts/services/show.phtml +++ b/modules/monitoring/application/views/scripts/services/show.phtml @@ -21,7 +21,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm; translate('No services matching the filter'); ?> - + translate('Issue commands to all %d selected services:'), count($objects)) ?>

@@ -30,7 +30,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
qlink( - $this->translate('Reschedule the next check'), + $this->translate('Reschedule next checks'), $rescheduleAllLink, null, array('icon' => 'reschedule') @@ -39,7 +39,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
qlink( - $this->translate('Schedule a downtime'), + $this->translate('Schedule downtimes'), $downtimeAllLink, null, array('icon' => 'plug') @@ -48,7 +48,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
qlink( - $this->translate('Submit a passive check result'), + $this->translate('Submit passive check results'), $processCheckResultAllLink, null, array('icon' => 'reply') @@ -57,7 +57,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm;
qlink( - $this->translate('Add a comment'), + $this->translate('Add comments'), $addCommentLink, null, array('icon' => 'comment') @@ -76,7 +76,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm; ) ?> -

translate('There are %s unhandled problems. ' . 'Issue commands to the problematic services:'), '' . $unhandledCount . '') ?> @@ -149,7 +149,7 @@ use Icinga\Module\Monitoring\Forms\Command\Object\DeleteCommentCommandForm; getComments()) ?> 0): ?> -

icon('comment') ?>

+

icon('comment') ?> translate('Comments') ?>

translatePlural( 'There is %d comment.',