From 9fc80ec34fb9a4d57ef4d390375e2a82f89d7d0d Mon Sep 17 00:00:00 2001
From: Matthias Jentsch
+
= sprintf(t('There are %s unhandled problems. ' .
- 'Issue commands to the problematic services.'),
- '' . $unhandledCount . '') ?>
-
-
- = sprintf(
- $this->translatePlural(
- '%u Acknowledged Service Problem',
- '%u Acknowledged Service Problems',
- $acknowledgedCount
- ),
- $acknowledgedCount
- ); ?> = $removeAckForm ?>
- = sprintf($this->translatePlural(
- '%u service currently in downtime',
- '%u services currently in downtime',
- $inDowntimeCount
- ), $inDowntimeCount) ?>
-
+ 0): ?>
= sprintf(t('There are %s unhandled problems. ' .
+ 'Issue commands to the problematic services.'),
+ '' . $unhandledCount . '') ?>
+
+
- = $this->icon('attention-alt') ?>
- = $this->translatePlural(
- 'Unhandled Problem',
- 'Unhandled Problems',
- $unhandledCount
- ) ?>
-
-
- = $this->icon('ok', $this->translate('Acknowledgements')) ?> = $this->translate('Acknowledgements') ?>
- = $this->icon('plug', $this->translate('Downtimes')) ?> = $this->translate('Downtimes') ?>
-
+ = $this->icon('attention-alt') ?>
+ = $this->translatePlural(
+ 'Unhandled Problem',
+ 'Unhandled Problems',
+ $unhandledCount
+ ) ?>
+
+
+
+ = sprintf( + $this->translatePlural( + '%u Acknowledged Service Problem.', + '%u Acknowledged Service Problems.', + $acknowledgedCount + ), + $acknowledgedCount + ); ?> = $removeAckForm ?> +
+ + + + 0 /*&& $auth->hasPermission('monitoring/command/comment/delete')*/): ?> += sprintf($this->translatePlural( + '%u service currently in downtime.', + '%u services currently in downtime.', + $inDowntimeCount + ), $inDowntimeCount) ?> + + = $this->qlink( + $this->translate('List all'), + $inDowntimeLink, + null + );?> +
@@ -146,12 +152,18 @@ use Icinga\Web\Url;= sprintf( $this->translatePlural( - 'There are no comments.', - 'There are %d comments', + 'There is %d comment.', + 'There are %d comments.', $commentCount ), $commentCount); ?> + = $this->qlink( + $this->translate('List all'), + $commentsLink, + null + ); ?>
+