adding an extra icon for ical export in context menu, so templates can change it independent of mime icons

This commit is contained in:
Ralf Becker 2014-02-20 11:07:12 +00:00
parent 7a01a55120
commit 1297c32fb2
3 changed files with 2 additions and 2 deletions

View File

@ -906,7 +906,7 @@ class calendar_uilist extends calendar_ui
);
}
$actions['ical'] = array(
'icon' => egw_vfs::mime_icon('text/calendar'),
'icon' => 'ical',
'caption' => 'Export iCal',
'group' => ++$group,
'hint' => 'Download this event as iCal',

View File

@ -1148,7 +1148,7 @@ class infolog_ui
$this->prefs['default_document']
);
$actions['ical'] = array(
'icon' => egw_vfs::mime_icon('text/calendar'),
'icon' => 'ical',
'caption' => 'Export iCal',
'postSubmit' => true, // download needs post submit to work
'group' => $group,

Binary file not shown.

After

Width:  |  Height:  |  Size: 873 B