From edd46d1127b6d0f21fdb6c0ab0ff9c520c7d2901 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 13 Oct 2022 10:43:35 -0600 Subject: [PATCH] Calendar: Add spaces after section colons (": ") in tooltip --- calendar/js/et2_widget_event.ts | 36 ++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/calendar/js/et2_widget_event.ts b/calendar/js/et2_widget_event.ts index c1e976e9ae..3ac37c86b6 100644 --- a/calendar/js/et2_widget_event.ts +++ b/calendar/js/et2_widget_event.ts @@ -518,9 +518,9 @@ export class et2_calendar_event extends et2_valueWidget implements et2_IDetached const end = parent.date_helper(this.options.value.end); const times = !this.options.value.multiday ? - '' + this.egw().lang('Time') + ':' + timespan : - '' + this.egw().lang('Start') + ':' + start + ' ' + - '' + this.egw().lang('End') + ':' + end; + '' + this.egw().lang('Time') + ': ' + timespan : + '' + this.egw().lang('Start') + ': ' + start + ' ' + + '' + this.egw().lang('End') + ': ' + end; let cat_label : (string | string[]) = ''; if(this.options.value.category) { @@ -547,8 +547,8 @@ export class et2_calendar_event extends et2_valueWidget implements et2_IDetached let location_node = document.createElement("span"); location_node.className = "calendar_calEventLabel"; et2_insertLinkText(et2_activateLinks( - this.egw().lang('Location') + ':' + - egw.htmlspecialchars(this.options.value.location)), location_node, '_blank'); + this.egw().lang('Location') + ': ' + + egw.htmlspecialchars(this.options.value.location)), location_node, '_blank'); location += location_node.outerHTML; if (this.options.value['##videoconference']) @@ -581,19 +581,19 @@ export class et2_calendar_event extends et2_valueWidget implements et2_IDetached } return '
' + - '
' + - '' + timespan + '' + - this.icons[0].outerHTML + - '
' + - '
' + - '

' + egw.htmlspecialchars(this.options.value.title) + '


' + - description_node.outerHTML + - '

' + times + '

' + - location + - (cat_label ? '

' + this.egw().lang('Category') + ':

' + cat_label + '

' : '') + - '

' + this.egw().lang('Participants') + ':


' + - participants + '

' + this._participant_summary(this.options.value.participants) + + '" style="border-color: ' + border + '; background-color: ' + bg_color + ';">' + + '
' + + '' + timespan + '' + + this.icons[0].outerHTML + + '
' + + '
' + + '

' + egw.htmlspecialchars(this.options.value.title) + '


' + + description_node.outerHTML + + '

' + times + '

' + + location + + (cat_label ? '

' + this.egw().lang('Category') + ':

' + cat_label + '

' : '') + + '

' + this.egw().lang('Participants') + ':


' + + participants + '

' + this._participant_summary(this.options.value.participants) + '
' + '
'; }