mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-11 21:50:15 +01:00
Fix missing space and extra spaces in calendar's birthday tooltip
This commit is contained in:
parent
c3b518b7d5
commit
b24d9f9cde
@ -1815,9 +1815,8 @@ class Contacts extends Contacts\Storage
|
|||||||
'day' => $d,
|
'day' => $d,
|
||||||
'month' => $m,
|
'month' => $m,
|
||||||
'occurence' => 0,
|
'occurence' => 0,
|
||||||
'name' => lang('Birthday').' '.($pers['n_given'] ? $pers['n_given'] : $pers['n_prefix']).' '.$pers['n_middle'].' '.
|
'name' => implode(' ', array_filter(array(lang('Birthday'),($pers['n_given'] ? $pers['n_given'] : $pers['n_prefix']), $pers['n_middle'],
|
||||||
$pers['n_family'].
|
$pers['n_family'], ($GLOBALS['egw_info']['server']['hide_birthdays'] == 'age' ? ($year - $y): '')))).
|
||||||
($GLOBALS['egw_info']['server']['hide_birthdays'] == 'age' ? ' '.($year - $y): '').
|
|
||||||
($y && in_array($GLOBALS['egw_info']['server']['hide_birthdays'], array('','age')) ? ' ('.$y.')' : ''),
|
($y && in_array($GLOBALS['egw_info']['server']['hide_birthdays'], array('','age')) ? ' ('.$y.')' : ''),
|
||||||
'birthyear' => $y, // this can be used to identify birthdays from holidays
|
'birthyear' => $y, // this can be used to identify birthdays from holidays
|
||||||
);
|
);
|
||||||
|
@ -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(', '));
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user