#9771 deleted buttons for task extensions list
This commit is contained in:
parent
660127b884
commit
b6379c4075
|
@ -957,16 +957,18 @@ class DiscoveryTaskList extends HTML
|
||||||
$data[9] .= '</a>';
|
$data[9] .= '</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$data[9] .= '<a href="#" onclick="progress_task_list('.$task['id_rt'].',\''.$task['name'].'\')">';
|
if ((int) $task['type'] !== DISCOVERY_EXTENSION) {
|
||||||
$data[9] .= html_print_image(
|
$data[9] .= '<a href="#" onclick="progress_task_list('.$task['id_rt'].',\''.$task['name'].'\')">';
|
||||||
'images/details.svg',
|
$data[9] .= html_print_image(
|
||||||
true,
|
'images/details.svg',
|
||||||
[
|
true,
|
||||||
'title' => __('View summary'),
|
[
|
||||||
'class' => 'main_menu_icon invert_filter',
|
'title' => __('View summary'),
|
||||||
]
|
'class' => 'main_menu_icon invert_filter',
|
||||||
);
|
]
|
||||||
$data[9] .= '</a>';
|
);
|
||||||
|
$data[9] .= '</a>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($task['disabled'] != 2 && $task['utimestamp'] > 0
|
if ($task['disabled'] != 2 && $task['utimestamp'] > 0
|
||||||
|
@ -977,7 +979,7 @@ class DiscoveryTaskList extends HTML
|
||||||
&& $task['type'] != DISCOVERY_CLOUD_AWS_RDS
|
&& $task['type'] != DISCOVERY_CLOUD_AWS_RDS
|
||||||
&& $task['type'] != DISCOVERY_CLOUD_AWS_S3
|
&& $task['type'] != DISCOVERY_CLOUD_AWS_S3
|
||||||
) {
|
) {
|
||||||
if (check_acl($config['id_user'], 0, 'MR')) {
|
if (check_acl($config['id_user'], 0, 'MR') && (int) $task['type'] !== 15) {
|
||||||
$data[9] .= '<a href="#" onclick="show_map('.$task['id_rt'].',\''.$task['name'].'\')">';
|
$data[9] .= '<a href="#" onclick="show_map('.$task['id_rt'].',\''.$task['name'].'\')">';
|
||||||
$data[9] .= html_print_image(
|
$data[9] .= html_print_image(
|
||||||
'images/web@groups.svg',
|
'images/web@groups.svg',
|
||||||
|
|
Loading…
Reference in New Issue