1 [%# The variable patron must be passed, with either a Koha::Patron, or a HASHREF with the 'age' key -%]
5 [%- IF ( patron.dateofbirth ) -%]
6 [%- SET age = (patron.get_age != undef) ? patron.get_age : patron.age -%]
8 [%- patron.dateofbirth | $KohaDates -%]
9 <span class='age_years'>[% I18N.tnx('({age} year)', '({age} years)', age, { age => age }) | html %]</span>