View | Details | Raw Unified | Return to bug 15400
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-age.inc (-2 / +1 lines)
Lines 5-11 Link Here
5
    [%- IF ( patron.dateofbirth ) -%]
5
    [%- IF ( patron.dateofbirth ) -%]
6
        [%- SET age = (patron.get_age != undef) ? patron.get_age : patron.age -%]
6
        [%- SET age = (patron.get_age != undef) ? patron.get_age : patron.age -%]
7
        [%- IF age %]
7
        [%- IF age %]
8
            [%- patron.dateofbirth | $KohaDates %]
8
            [%- patron.dateofbirth | $KohaDates -%]
9
            <span class='age_years'>[% I18N.tnx('({age} year)', '({age} years)', age, { age => age }) | html %]</span>
9
            <span class='age_years'>[% I18N.tnx('({age} year)', '({age} years)', age, { age => age }) | html %]</span>
10
        [%- END -%]
10
        [%- END -%]
11
   [%- END -%]
11
   [%- END -%]
12
- 

Return to bug 15400