From 006d2cb53767ad9a1882238dc19cb1efce59e3c5 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 10 Jul 2015 14:39:30 +0200 Subject: [PATCH] downtimes-header: Be more efficient when listing downtimes --- .../partials/downtime/downtimes-header.phtml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/monitoring/application/views/scripts/partials/downtime/downtimes-header.phtml b/modules/monitoring/application/views/scripts/partials/downtime/downtimes-header.phtml index 4d8aca6c2..402fbc71c 100644 --- a/modules/monitoring/application/views/scripts/partials/downtime/downtimes-header.phtml +++ b/modules/monitoring/application/views/scripts/partials/downtime/downtimes-header.phtml @@ -2,7 +2,7 @@ 5) { - continue; + break; } ?> @@ -68,18 +68,18 @@ - + -

- 5): ?> + 5): ?> +

qlink( sprintf($this->translate('show all %d downtimes'), $i), $listAllLink, null, array( - 'icon' => $i > 5 ? 'down-open' : '', - 'data-base-target' => "_next" + 'icon' => 'down-open', + 'data-base-target' => "_next" ) ) ?> - -

+

+ \ No newline at end of file