Merge branch 'ent-12243-no-funciona-integracion-pandora-pitsm-a-nivel-usuario' into 'develop'
Hide test button and setup in ITSM pandora_enterprise#12243 See merge request artica/pandorafms!6629
This commit is contained in:
commit
7f4a928f35
|
@ -187,7 +187,8 @@ $button_test .= ' <span id="ITSM-message" class="invisible"></span>';
|
||||||
|
|
||||||
$row['control'] = html_print_label_input_block(
|
$row['control'] = html_print_label_input_block(
|
||||||
__('Test connection pandora to ITSM'),
|
__('Test connection pandora to ITSM'),
|
||||||
$button_test
|
$button_test,
|
||||||
|
['div_class' => 'ITSM-remote-setup-ITSM_token']
|
||||||
);
|
);
|
||||||
$table_remote->data['ITSM_test'] = $row;
|
$table_remote->data['ITSM_test'] = $row;
|
||||||
|
|
||||||
|
|
|
@ -1120,7 +1120,10 @@ class Manager
|
||||||
}
|
}
|
||||||
|
|
||||||
$onheader = [];
|
$onheader = [];
|
||||||
|
if (users_is_admin() === true) {
|
||||||
$onheader['configure'] = $setup_tab;
|
$onheader['configure'] = $setup_tab;
|
||||||
|
}
|
||||||
|
|
||||||
$onheader['dashboard'] = $dashboard_tab;
|
$onheader['dashboard'] = $dashboard_tab;
|
||||||
$onheader['list'] = $list_tab;
|
$onheader['list'] = $list_tab;
|
||||||
if ($idIncidence !== 0) {
|
if ($idIncidence !== 0) {
|
||||||
|
|
Loading…
Reference in New Issue