Merge branch '124-anadir-enlace-a-los-iconos-de-la-columna-remote-config-de-la-vista-de-agentes' into 'develop'

Add link to remote config column icons y agent view list - #124

See merge request !370
This commit is contained in:
slerena 2017-08-28 12:35:33 +02:00
commit c1a755bc09
1 changed files with 2 additions and 5 deletions

View File

@ -594,11 +594,8 @@ foreach ($agents as $agent) {
if (enterprise_installed()) { if (enterprise_installed()) {
enterprise_include_once('include/functions_config_agents.php'); enterprise_include_once('include/functions_config_agents.php');
if (enterprise_hook('config_agents_has_remote_configuration',array($agent["id_agente"]))) { if (enterprise_hook('config_agents_has_remote_configuration',array($agent["id_agente"]))) {
$data[9] = '<a href="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=remote_configuration&id_agente='.$agent["id_agente"].'&disk_conf=1">'.html_print_image("images/application_edit.png", true, array("align" => 'middle', "title" => __('Remote config'))).'</a>';
$data[10] = html_print_image("images/application_edit.png", true, array("align" => 'middle', "title" => __('Remote config')));
} }
} }
@ -669,4 +666,4 @@ $(document).ready (function () {
$(".agent"+$(this)[0].className).css('visibility', 'hidden'); $(".agent"+$(this)[0].className).css('visibility', 'hidden');
}); });
}); });
</script> </script>