forked from extern/egroupware
Revert r55868, hide participants for private events
This commit is contained in:
parent
8e92a42c65
commit
4c167a2d80
@ -430,8 +430,6 @@ class calendar_uilist extends calendar_ui
|
||||
if ($is_private)
|
||||
{
|
||||
$event['class'] .= 'rowNoView ';
|
||||
// Hide participants for private events
|
||||
$event['parts'] = '';
|
||||
}
|
||||
|
||||
$event['app'] = 'calendar';
|
||||
|
@ -506,10 +506,8 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten
|
||||
'<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>' : '')+
|
||||
(cat_label ? '<p><span class="calendar_calEventLabel">'+this.egw().lang('Category') + '</span>:' + cat_label +'</p>' : '')+
|
||||
(this.options.value.parts ?
|
||||
'<p><span class="calendar_calEventLabel">'+this.egw().lang('Participants')+'</span>:<br />'+
|
||||
this.options.value.parts.replace("\n","<br />")+'</p>':''
|
||||
)+
|
||||
(this.options.value.parts ? this.options.value.parts.replace("\n","<br />"):'')+'</p>'+
|
||||
'</div>'+
|
||||
'</div>';
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user