Fix missing space and extra spaces in calendar's birthday tooltip

This commit is contained in:
Hadi Nategh 2018-12-10 14:20:11 +01:00
parent c3b518b7d5
commit b24d9f9cde
2 changed files with 4 additions and 5 deletions

View File

@ -1815,9 +1815,8 @@ class Contacts extends Contacts\Storage
'day' => $d,
'month' => $m,
'occurence' => 0,
'name' => lang('Birthday').' '.($pers['n_given'] ? $pers['n_given'] : $pers['n_prefix']).' '.$pers['n_middle'].' '.
$pers['n_family'].
($GLOBALS['egw_info']['server']['hide_birthdays'] == 'age' ? ' '.($year - $y): '').
'name' => implode(' ', array_filter(array(lang('Birthday'),($pers['n_given'] ? $pers['n_given'] : $pers['n_prefix']), $pers['n_middle'],
$pers['n_family'], ($GLOBALS['egw_info']['server']['hide_birthdays'] == 'age' ? ($year - $y): '')))).
($y && in_array($GLOBALS['egw_info']['server']['hide_birthdays'], array('','age')) ? ' ('.$y.')' : ''),
'birthyear' => $y, // this can be used to identify birthdays from holidays
);

View File

@ -508,7 +508,7 @@ var et2_calendar_daycol = (function(){ "use strict"; return et2_valueWidget.exte
}
}
}
this.title.attr('title', holiday_list.join(','));
this.title.attr('title', holiday_list.join(', '));
},
/**