diff --git a/calendar/inc/class.calendar_bo.inc.php b/calendar/inc/class.calendar_bo.inc.php index cebe3c7a3d..f37c641dbf 100644 --- a/calendar/inc/class.calendar_bo.inc.php +++ b/calendar/inc/class.calendar_bo.inc.php @@ -119,6 +119,13 @@ class calendar_bo 'D' => 'Delegated', 'G' => 'Group invitation', ); + var $status_images = array( + 'A' => 'check-lg', + 'R' => 'x-circle', + 'T' => 'clock-history', + 'U' => 'question-lg', + 'D' => 'share', + ); /** * @var array recur_types translates MCAL recur-types to verbose labels */ diff --git a/calendar/inc/class.calendar_uiviews.inc.php b/calendar/inc/class.calendar_uiviews.inc.php index a6cd0890b8..101c3d2c24 100644 --- a/calendar/inc/class.calendar_uiviews.inc.php +++ b/calendar/inc/class.calendar_uiviews.inc.php @@ -952,6 +952,7 @@ class calendar_uiviews extends calendar_ui $status = array( 'id' => $id, 'caption' => $status, + 'icon' => $ui->bo->status_images[$id], 'onExecute' => 'javaScript:app.calendar.status' ); }