mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Hide whole day label when read-only and the event is not whole day
This commit is contained in:
parent
d5cceaf7d6
commit
5bac30f8c7
@ -1585,6 +1585,11 @@ class calendar_uiforms extends calendar_ui
|
||||
|
||||
$content['participants']['no_add'] = true;
|
||||
|
||||
if(!$event['whole_day'])
|
||||
{
|
||||
$etpl->setElementAttribute('whole_day', 'disabled', true);
|
||||
}
|
||||
|
||||
// respect category permissions
|
||||
if(!empty($event['category']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user