Revert r55868, hide participants for private events

This commit is contained in:
Nathan Gray 2016-05-04 15:09:37 +00:00
parent 8e92a42c65
commit 4c167a2d80
2 changed files with 2 additions and 6 deletions

View File

@ -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';

View File

@ -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>';
}, },