[eGroupWare-svn] r55868 - in /trunk/calendar: inc/class.calendar_uilist.inc.php js/et2_widget_event.js
| Newsgroups | gmane.comp.web.egroupware.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: nathangray
Date: Tue Apr 26 22:13:14 2016
New Revision: 55868
URL: http://svn.stylite.de/viewvc/egroupware?rev=55868&view=rev
Log:
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=55868&r1=55867&r2=55868&view=diff
==============================================================================
--- trunk/calendar/inc/class.calendar_uilist.inc.php (original)
+++ trunk/calendar/inc/class.calendar_uilist.inc.php Tue Apr 26 22:13:14 2016
@@ -418,6 +418,8 @@
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=55868&r1=55867&r2=55868&view=diff
==============================================================================
--- trunk/calendar/js/et2_widget_event.js (original)
+++ trunk/calendar/js/et2_widget_event.js Tue Apr 26 22:13:14 2016
@@ -503,8 +503,10 @@
'<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>' : '')+
- '<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 ?
+ '<p><span class="calendar_calEventLabel">'+this.egw().lang('Participants')+'</span>:<br />'+
+ 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