mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
only change title for private events on server-side
This commit is contained in:
parent
a1958f102b
commit
239689036a
@ -838,7 +838,7 @@ class calendar_bo
|
|||||||
'uid' => $event['uid'],
|
'uid' => $event['uid'],
|
||||||
'etag' => $event['etag'],
|
'etag' => $event['etag'],
|
||||||
'participants' => array_intersect_key($event['participants'],array_flip($allowed_participants)),
|
'participants' => array_intersect_key($event['participants'],array_flip($allowed_participants)),
|
||||||
'public'=> 0,
|
'public'=> $event['public'],
|
||||||
'category' => $event['category'], // category is visible anyway, eg. by using planner by cat
|
'category' => $event['category'], // category is visible anyway, eg. by using planner by cat
|
||||||
'non_blocking' => $event['non_blocking'],
|
'non_blocking' => $event['non_blocking'],
|
||||||
'caldav_name' => $event['caldav_name'],
|
'caldav_name' => $event['caldav_name'],
|
||||||
|
@ -362,7 +362,7 @@ export class et2_calendar_event extends et2_valueWidget implements et2_IDetached
|
|||||||
this.body.toggleClass('calendar_calEventBodySmall', event.whole_day_on_top || false);
|
this.body.toggleClass('calendar_calEventBodySmall', event.whole_day_on_top || false);
|
||||||
|
|
||||||
// Header
|
// Header
|
||||||
const title = !event.is_private ? egw.htmlspecialchars(event['title']) : egw.lang('private');
|
const title = egw.htmlspecialchars(event['title']);
|
||||||
|
|
||||||
this.title
|
this.title
|
||||||
.html('<span class="calendar_calTimespan">' + this._get_timespan(event) + '<br /></span>')
|
.html('<span class="calendar_calTimespan">' + this._get_timespan(event) + '<br /></span>')
|
||||||
|
Loading…
Reference in New Issue
Block a user