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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc (-1 / +1 lines)
Lines 102-108 Link Here
102
                        }
102
                        }
103
                        var itemString = "<a href=\"" + item.link + "\">" + item.surname + ", " + item.firstname + cardnumber + " <small>";
103
                        var itemString = "<a href=\"" + item.link + "\">" + item.surname + ", " + item.firstname + cardnumber + " <small>";
104
                        if( item.dateofbirth ) {
104
                        if( item.dateofbirth ) {
105
                            itemString += item.dateofbirth + " (" + item.age + " " +  _("years") + "), ";
105
                            itemString += item.dateofbirth + "<span class=\"age_years\"> (" + item.age + " " +  _("years") + ")</span>, ";
106
                        }
106
                        }
107
                        itemString += item.address + " " + item.city + " " + item.zipcode + " " + item.country + "</small></a>";
107
                        itemString += item.address + " " + item.city + " " + item.zipcode + " " + item.country + "</small></a>";
108
                        return $( "<li></li>" )
108
                        return $( "<li></li>" )
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-age.inc (-2 / +1 lines)
Lines 4-9 Link Here
4
    [%- IF ( patron.dateofbirth ) -%]
4
    [%- IF ( patron.dateofbirth ) -%]
5
        [%- patron.dateofbirth | $KohaDates %]
5
        [%- patron.dateofbirth | $KohaDates %]
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
        [% I18N.tnx('({age} year)', '({age} years)', age, { age => age }) | html %]
7
        <span class='age_years'>[% I18N.tnx('({age} year)', '({age} years)', age, { age => age }) | html %]</span>
8
   [%- END -%]
8
   [%- END -%]
9
[%- END -%]
9
[%- END -%]
10
- 

Return to bug 15400