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