mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
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)
|
if ($is_private)
|
||||||
{
|
{
|
||||||
$event['class'] .= 'rowNoView ';
|
$event['class'] .= 'rowNoView ';
|
||||||
// Hide participants for private events
|
|
||||||
$event['parts'] = '';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$event['app'] = 'calendar';
|
$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>'+
|
'<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>' : '')+
|
||||||
(this.options.value.parts ?
|
'<p><span class="calendar_calEventLabel">'+this.egw().lang('Participants')+'</span>:<br />'+
|
||||||
'<p><span class="calendar_calEventLabel">'+this.egw().lang('Participants')+'</span>:<br />'+
|
(this.options.value.parts ? this.options.value.parts.replace("\n","<br />"):'')+'</p>'+
|
||||||
this.options.value.parts.replace("\n","<br />")+'</p>':''
|
|
||||||
)+
|
|
||||||
'</div>'+
|
'</div>'+
|
||||||
'</div>';
|
'</div>';
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user