diff --git a/pandora_console/godmode/agentes/planned_downtime.list.php b/pandora_console/godmode/agentes/planned_downtime.list.php index e704679deb..dc244d9f39 100755 --- a/pandora_console/godmode/agentes/planned_downtime.list.php +++ b/pandora_console/godmode/agentes/planned_downtime.list.php @@ -322,9 +322,29 @@ else { $downtimes = array(); } +// No downtimes if (!$downtimes) { + // Filter form + echo "
"; + html_print_table($table_form); + echo "
"; + + // Info message echo '
'.__('No planned downtime').'
'; + + echo '
'; + + // Create button + if ($write_permisson) { + echo ' '; + echo '
'; + html_print_submit_button (__('Create'), 'create', false, 'class="sub next"'); + echo '
'; + } + + echo '
'; } +// Has downtimes else { echo "
"; html_print_table($table_form);