forked from extern/egroupware
Calendar: Allow calendar integration to specify a caption, not just use app name
This commit is contained in:
parent
4e5f68f97c
commit
c7020c79d8
@ -406,7 +406,7 @@ class calendar_uiviews extends calendar_ui
|
||||
$img = self::integration_get_icons($app, null, [])[0];
|
||||
preg_match('/<img src=\"(.*?)\".*\/>/', $img, $results);
|
||||
$actions['integration_'.$app] = array(
|
||||
'caption' => $app,
|
||||
'caption' => $data['selects']['caption'] ?? $app,
|
||||
'iconUrl' => $results[1] ?: "$app\navbar",
|
||||
'checkbox' => true,
|
||||
'hint' => lang("show %1 from %2", lang(Link::get_registry($app, 'entries') ?: 'entries'), lang(Link::get_registry($app, 'name'))),
|
||||
|
Loading…
Reference in New Issue
Block a user