mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-23 19:31:53 +02: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;
|
$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…
x
Reference in New Issue
Block a user