ITSM fixed pandora_enterprise#11471
This commit is contained in:
parent
5707ec9e4b
commit
5cf31fc77e
|
@ -176,7 +176,7 @@ $buttons['integria'] = [
|
|||
'images/integria.png',
|
||||
true,
|
||||
[
|
||||
'title' => __('Integria IMS'),
|
||||
'title' => __('ITSM'),
|
||||
'class' => 'invert_filter',
|
||||
]
|
||||
).'</a>',
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>ITSM icon</title>
|
||||
<g id="ITSM-icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<path d="M13,0 C13.5522847,-1.01453063e-16 14,0.44771525 14,1 L14,6 L9.73239368,5.99992752 C9.90258972,6.29411727 10,6.63568294 10,7 C10,8.1045695 9.1045695,9 8,9 C6.8954305,9 6,8.1045695 6,7 C6,6.63568294 6.09741028,6.29411727 6.26760632,5.99992752 L2,6 L2,3 L2.64668367,2.35331633 C2.7130102,2.2869898 2.78443878,2.21556122 2.86096939,2.13903061 L4.78954082,0.210459184 C4.85841837,0.141581633 4.92857143,0.0714285714 5,0 L13,0 Z M14,10 L14,14 C14,15.1045695 13.1045695,16 12,16 L4,16 C2.8954305,16 2,15.1045695 2,14 L2,10 L6.26790938,9.99940385 C6.09752593,10.2937119 6,10.6354668 6,11 C6,12.1045695 6.8954305,13 8,13 C9.1045695,13 10,12.1045695 10,11 C10,10.6354668 9.90247407,10.2937119 9.73209062,9.99940385 L14,10 Z" id="Path-30" fill="#95A3BF"></path>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
|
@ -2827,28 +2827,6 @@ function agents_get_agent_group($id_agent, $force_meta=false)
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* This function gets the count of incidents attached to the agent
|
||||
*
|
||||
* @param int The agent id
|
||||
*
|
||||
* @return mixed The incidents attached or false
|
||||
*/
|
||||
function agents_get_count_incidents($id_agent)
|
||||
{
|
||||
if (empty($id_agent)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return db_get_value(
|
||||
'count(*)',
|
||||
'tincidencia',
|
||||
'id_agent',
|
||||
$id_agent
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get critical monitors by using the status code in modules.
|
||||
*
|
||||
|
|
|
@ -259,6 +259,12 @@
|
|||
background-size: 18px;
|
||||
}
|
||||
|
||||
/* ITSM */
|
||||
.icon_oper-itsm {
|
||||
background: url(../../images/menu/itsm.svg) no-repeat 50% 50%;
|
||||
background-size: 18px;
|
||||
}
|
||||
|
||||
/* trap console */
|
||||
.icon_oper-snmpc,
|
||||
.icon_god-snmpc {
|
||||
|
|
Loading…
Reference in New Issue