From 9b4f3c9f608faea39ff1d381390e1cb35606c1e6 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 1 Jun 2015 17:25:10 +0200 Subject: [PATCH] monitoring: Readd link to all configured hosts --- .../views/scripts/list/components/hostssummary.phtml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/application/views/scripts/list/components/hostssummary.phtml b/modules/monitoring/application/views/scripts/list/components/hostssummary.phtml index d6166a52d..1690bf0a7 100644 --- a/modules/monitoring/application/views/scripts/list/components/hostssummary.phtml +++ b/modules/monitoring/application/views/scripts/list/components/hostssummary.phtml @@ -15,7 +15,15 @@ $this->baseFilter = isset($this->baseFilter) ? $this->baseFilter : null; $selfUrl = 'monitoring/list/hosts'; $currentUrl = Url::fromRequest()->getRelativeUrl(); ?>
compact ? ' data-base-target="col1"' : ''; ?>> - translate('%s hosts:'), $this->stats->hosts_total); ?> + qlink( + sprintf($this->translatePlural('%u Host', '%u Hosts', $this->stats->hosts_total), $this->stats->hosts_total), + $selfUrl, + null, + array('title' => sprintf( + $this->translatePlural('List %u host', 'List all %u hosts', $this->stats->hosts_total), + $this->stats->hosts_total + )) + ) ?>: stats->hosts_up): ?> @@ -156,4 +164,4 @@ $currentUrl = Url::fromRequest()->getRelativeUrl(); -
\ No newline at end of file +