diff --git a/modules/monitoring/application/views/helpers/SelectionToolbar.php b/modules/monitoring/application/views/helpers/SelectionToolbar.php new file mode 100644 index 000000000..ce4aa2c34 --- /dev/null +++ b/modules/monitoring/application/views/helpers/SelectionToolbar.php @@ -0,0 +1,27 @@ + All + None '; + + } else if ($type == 'single') { + return 'Select None '; + + } else { + return ''; + } + } +} diff --git a/modules/monitoring/application/views/scripts/list/comments.phtml b/modules/monitoring/application/views/scripts/list/comments.phtml index 764f28863..dab2b4cd1 100644 --- a/modules/monitoring/application/views/scripts/list/comments.phtml +++ b/modules/monitoring/application/views/scripts/list/comments.phtml @@ -15,15 +15,26 @@ - -
Contact Name | -Alias | -Email Address | -Pager Address / Number | -Service Notification Options | -Host Notification Options | -Service Notification Period | -Host Notification Period | -
---|
- = $this->dateFormat()->formatDateTime((int) $downtime->downtime_start); ?> -
- = $this->dateFormat()->formatDateTime((int) $downtime->downtime_end); ?>
- - Duration: = $this->util()->showHourMin((int) $downtime->downtime_duration); ?> - - The downtime_is_flexible): ?>flexiblefixed downtime is downtime_is_in_effect): ?>not in effect - |
-
- service)): ?>
- = $downtime->service ?>
- on = $downtime->host ?>
-
- = $downtime->host ?>
-
- - = $downtime->downtime_author ?>: = $downtime->downtime_comment ?> - - Entry Time: = ($downtime->downtime_entry_time) ? $this->dateFormat()->formatDateTime((int) $downtime->downtime_entry_time) : ''; ?> - - | - $downtime->downtime_internal_downtime_id, - 'host' => $downtime->host - ); - if (isset($downtime->service)) { - $data['service'] = $downtime->service; - } - echo $commandHelper->iconSubmitForm( - 'icinga-icon-remove', - 'Remove Downtime', - 'btn-small', - 'removedowntime', - $data - ); - ?> - | -
+ = $this->dateFormat()->formatDateTime((int) $downtime->downtime_start); ?> -
+ = $this->dateFormat()->formatDateTime((int) $downtime->downtime_end); ?>
+ + Duration: = $this->util()->showHourMin((int) $downtime->downtime_duration); ?> + + The downtime_is_flexible): ?>flexiblefixed downtime is downtime_is_in_effect): ?>not in effect + |
+
+ service)): ?>
+ = $downtime->service ?>
+ on = $downtime->host ?>
+
+ = $downtime->host ?>
+
+ + = $downtime->downtime_author ?>: = $downtime->downtime_comment ?> + + Entry Time: = ($downtime->downtime_entry_time) ? $this->dateFormat()->formatDateTime((int) $downtime->downtime_entry_time) : ''; ?> + + | + $downtime->downtime_internal_downtime_id, + 'host' => $downtime->host + ); + if (isset($downtime->service)) { + $data['service'] = $downtime->service; + } + echo $commandHelper->iconSubmitForm( + 'icinga-icon-remove', + 'Remove Downtime', + 'btn-small', + 'removedowntime', + $data + ); + ?> + | +