[eGroupWare-svn] r56011 - in /trunk/calendar: inc/class.calendar_uilist.inc.php js/et2_widget_event.js

[email protected] Wed, 04 May 2016 15:09:37 -0000
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: nathangray
Date: Wed May  4 17:09:37 2016
New Revision: 56011

URL: http://svn.stylite.de/viewvc/egroupware?rev=56011&view=rev
Log:
Revert r55868, hide participants for private events

Modified:
    trunk/calendar/inc/class.calendar_uilist.inc.php
    trunk/calendar/js/et2_widget_event.js

Modified: trunk/calendar/inc/class.calendar_uilist.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/calendar/inc/class.calendar_uilist.inc.php?rev=56011&r1=56010&r2=56011&view=diff
==============================================================================
--- trunk/calendar/inc/class.calendar_uilist.inc.php (original)
+++ trunk/calendar/inc/class.calendar_uilist.inc.php Wed May  4 17:09:37 2016
@@ -430,8 +430,6 @@
 			if ($is_private)
 			{
 				$event['class'] .= 'rowNoView ';
-				// Hide participants for private events
-				$event['parts'] = '';
 			}
 
 			$event['app'] = 'calendar';

Modified: trunk/calendar/js/et2_widget_event.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/calendar/js/et2_widget_event.js?rev=56011&r1=56010&r2=56011&view=diff
==============================================================================
--- trunk/calendar/js/et2_widget_event.js (original)
+++ trunk/calendar/js/et2_widget_event.js Wed May  4 17:09:37 2016
@@ -506,10 +506,8 @@
 				'<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>':''
-				)+
+				'<p><span class="calendar_calEventLabel">'+this.egw().lang('Participants')+'</span>:<br />'+
+					(this.options.value.parts ? this.options.value.parts.replace("\n","<br />"):'')+'</p>'+
 			'</div>'+
 		'</div>';
 	},


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z