2010-09-29 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php: Change to the new status images and names to the events on the tactical view. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
618d4ede28
commit
52e705862c
|
@ -1,3 +1,8 @@
|
|||
2010-09-29 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_events.php: Change to the new status
|
||||
images and names to the events on the tactical view.
|
||||
|
||||
2010-09-29 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/javascript/jquery.pandora.controls.js
|
||||
|
|
|
@ -332,14 +332,21 @@ function print_events_table ($filter = "", $limit = 10, $width = 440, $return =
|
|||
$data = array ();
|
||||
|
||||
// Colored box
|
||||
if ($event["estado"] == 0) {
|
||||
$img = "images/tick_off.png";
|
||||
$title = __('Event not validated');
|
||||
}
|
||||
else {
|
||||
$img = "images/tick.png";
|
||||
$title = __('Event validated (ACK)');
|
||||
switch($event["estado"]) {
|
||||
case 0:
|
||||
$img = "images/star.png";
|
||||
$title = __('New event');
|
||||
break;
|
||||
case 1:
|
||||
$img = "images/tick.png";
|
||||
$title = __('Event validated');
|
||||
break;
|
||||
case 2:
|
||||
$img = "images/hourglass.png";
|
||||
$title = __('Event in process');
|
||||
break;
|
||||
}
|
||||
|
||||
$data[0] = print_image ($img, true,
|
||||
array ("class" => "image_status",
|
||||
"width" => 16,
|
||||
|
|
Loading…
Reference in New Issue