diff --git a/calendar/inc/class.calendar_uilist.inc.php b/calendar/inc/class.calendar_uilist.inc.php index 852157363a..17fedf056f 100644 --- a/calendar/inc/class.calendar_uilist.inc.php +++ b/calendar/inc/class.calendar_uilist.inc.php @@ -418,6 +418,8 @@ class calendar_uilist extends calendar_ui if ($is_private) { $event['class'] .= 'rowNoView '; + // Hide participants for private events + $event['parts'] = ''; } $event['app'] = 'calendar'; diff --git a/calendar/js/et2_widget_event.js b/calendar/js/et2_widget_event.js index c09a83f21c..a2c9b1c147 100644 --- a/calendar/js/et2_widget_event.js +++ b/calendar/js/et2_widget_event.js @@ -503,8 +503,10 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten '

'+times+'

'+ (this.options.value.location ? '

'+this.egw().lang('Location') + ':' + this.options.value.location+'

' : '')+ (cat_label ? '

'+this.egw().lang('Category') + ':' + cat_label +'

' : '')+ - '

'+this.egw().lang('Participants')+':
'+ - (this.options.value.parts ? this.options.value.parts.replace("\n","
"):'')+'

'+ + (this.options.value.parts ? + '

'+this.egw().lang('Participants')+':
'+ + this.options.value.parts.replace("\n","
")+'

':'' + )+ ''+ ''; },