WIP: Backup upload
This commit is contained in:
parent
064ae49d56
commit
08cc67696a
|
@ -546,6 +546,15 @@ class DiscoveryTaskList extends HTML
|
|||
true
|
||||
);
|
||||
} else if ($task['review_mode'] == DISCOVERY_STANDARD) {
|
||||
if ($task['type'] === DISCOVERY_APP_VMWARE) {
|
||||
if ($task['status'] <= 0) {
|
||||
$data[5] == __('Done');
|
||||
} else if ($task['status'] > 0 && $task['utimestamp'] == 0) {
|
||||
$data[5] == __('Pending');
|
||||
} else {
|
||||
$data[5] == __('Not started');
|
||||
}
|
||||
} else {
|
||||
if ($task['status'] <= 0
|
||||
&& empty($task['summary']) === false
|
||||
) {
|
||||
|
@ -557,6 +566,7 @@ class DiscoveryTaskList extends HTML
|
|||
} else {
|
||||
$data[5] = __('Pending');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if ($task['status'] <= 0
|
||||
&& empty($task['summary']) === false
|
||||
|
@ -1201,8 +1211,14 @@ class DiscoveryTaskList extends HTML
|
|||
|
||||
// Header information.
|
||||
if ((int) $task['status'] <= 0 && empty($summary)) {
|
||||
if ($task['type'] == DISCOVERY_APP_VMWARE) {
|
||||
$outputMessage = __('Task completed.');
|
||||
} else {
|
||||
$outputMessage = __('This task has never executed');
|
||||
}
|
||||
|
||||
$output .= ui_print_info_message(
|
||||
__('This task has never executed'),
|
||||
$outputMessage,
|
||||
'',
|
||||
true
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue