From aceae4cb6ed4ff90eedcd5c89cec2ea01745a478 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 27 Aug 2015 23:15:28 +0200 Subject: [PATCH] monitoring: Fix coding style in the downtimes/show view script --- .../views/scripts/downtimes/show.phtml | 22 ++++++++----------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/modules/monitoring/application/views/scripts/downtimes/show.phtml b/modules/monitoring/application/views/scripts/downtimes/show.phtml index 5adc984fa..9b4449cb5 100644 --- a/modules/monitoring/application/views/scripts/downtimes/show.phtml +++ b/modules/monitoring/application/views/scripts/downtimes/show.phtml @@ -1,23 +1,19 @@
- - compact): ?> - tabs; ?> - - - render('partials/downtime/downtimes-header.phtml'); ?> -

+compact): ?> + tabs ?> + + render('partials/downtime/downtimes-header.phtml') ?>
+
-

translate('Commands') ?>

+

icon('reschedule') ?>translate('Commands') ?>

qlink( - sprintf( - $this->translate('Remove all %d scheduled downtimes'), - count($downtimes) - ), + sprintf($this->translate('Remove all %d scheduled downtimes'), $downtimes->count()), $removeAllLink, null, array( - 'icon' => 'trash' + 'icon' => 'trash', + 'title' => $this->translate('Remove all selected downtimes') ) ) ?>