mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 11:58:24 +01:00
Hide participants for private events
This commit is contained in:
parent
523edb57c3
commit
42ac5b8a08
@ -418,6 +418,8 @@ class calendar_uilist extends calendar_ui
|
|||||||
if ($is_private)
|
if ($is_private)
|
||||||
{
|
{
|
||||||
$event['class'] .= 'rowNoView ';
|
$event['class'] .= 'rowNoView ';
|
||||||
|
// Hide participants for private events
|
||||||
|
$event['parts'] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$event['app'] = 'calendar';
|
$event['app'] = 'calendar';
|
||||||
|
@ -503,8 +503,10 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten
|
|||||||
'<p style="margin: 2px 0px;">'+times+'</p>'+
|
'<p style="margin: 2px 0px;">'+times+'</p>'+
|
||||||
(this.options.value.location ? '<p><span class="calendar_calEventLabel">'+this.egw().lang('Location') + '</span>:' + this.options.value.location+'</p>' : '')+
|
(this.options.value.location ? '<p><span class="calendar_calEventLabel">'+this.egw().lang('Location') + '</span>:' + this.options.value.location+'</p>' : '')+
|
||||||
(cat_label ? '<p><span class="calendar_calEventLabel">'+this.egw().lang('Category') + '</span>:' + cat_label +'</p>' : '')+
|
(cat_label ? '<p><span class="calendar_calEventLabel">'+this.egw().lang('Category') + '</span>:' + cat_label +'</p>' : '')+
|
||||||
'<p><span class="calendar_calEventLabel">'+this.egw().lang('Participants')+'</span>:<br />'+
|
(this.options.value.parts ?
|
||||||
(this.options.value.parts ? this.options.value.parts.replace("\n","<br />"):'')+'</p>'+
|
'<p><span class="calendar_calEventLabel">'+this.egw().lang('Participants')+'</span>:<br />'+
|
||||||
|
this.options.value.parts.replace("\n","<br />")+'</p>':''
|
||||||
|
)+
|
||||||
'</div>'+
|
'</div>'+
|
||||||
'</div>';
|
'</div>';
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user