Hide test button and setup in ITSM pandora_enterprise#12243
This commit is contained in:
parent
96d8fe33f3
commit
f71479033d
|
@ -187,7 +187,8 @@ $button_test .= ' <span id="ITSM-message" class="invisible"></span>';
|
|||
|
||||
$row['control'] = html_print_label_input_block(
|
||||
__('Test connection pandora to ITSM'),
|
||||
$button_test
|
||||
$button_test,
|
||||
['div_class' => 'ITSM-remote-setup-ITSM_token']
|
||||
);
|
||||
$table_remote->data['ITSM_test'] = $row;
|
||||
|
||||
|
|
|
@ -1120,7 +1120,10 @@ class Manager
|
|||
}
|
||||
|
||||
$onheader = [];
|
||||
$onheader['configure'] = $setup_tab;
|
||||
if (users_is_admin() === true) {
|
||||
$onheader['configure'] = $setup_tab;
|
||||
}
|
||||
|
||||
$onheader['dashboard'] = $dashboard_tab;
|
||||
$onheader['list'] = $list_tab;
|
||||
if ($idIncidence !== 0) {
|
||||
|
|
Loading…
Reference in New Issue