mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +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',
|
||||
'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
|
||||
*/
|
||||
|
@ -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'
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user