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