mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-25 07:19:00 +01:00
add bootstrap icons for calendar invite status in calendar context menu
This commit is contained in:
parent
3e121cc953
commit
eb6a0abbd7
@ -119,6 +119,13 @@ class calendar_bo
|
|||||||
'D' => 'Delegated',
|
'D' => 'Delegated',
|
||||||
'G' => 'Group invitation',
|
'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
|
* @var array recur_types translates MCAL recur-types to verbose labels
|
||||||
*/
|
*/
|
||||||
|
@ -952,6 +952,7 @@ class calendar_uiviews extends calendar_ui
|
|||||||
$status = array(
|
$status = array(
|
||||||
'id' => $id,
|
'id' => $id,
|
||||||
'caption' => $status,
|
'caption' => $status,
|
||||||
|
'icon' => $ui->bo->status_images[$id],
|
||||||
'onExecute' => 'javaScript:app.calendar.status'
|
'onExecute' => 'javaScript:app.calendar.status'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user