projects
/
koha.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bug 15400: Display date of birth and age more consistantly
[koha.git]
/
koha-tmpl
/
intranet-tmpl
/
prog
/
en
/
includes
/
patron-age.inc
1
[%- USE KohaDates -%]
2
[%- IF ( patron ) -%]
3
[%- IF ( patron.dateofbirth ) -%]
4
[% patron.dateofbirth | $KohaDates -%]
5
[%- IF ( patron.get_age ) %] ([% patron.get_age | html %] years)
6
[%- ELSIF ( patron.age ) %] ([% patron.age | html %] years)[% END -%]
7
[%- END -%]
8
[%- END -%]