When doing a patron search ( member.tt) there is a column for Date of Birth. That column also includes a hint about the age of the patron. Example: (67 years) Some libraries don't want to show information about the patron's age. Currently that info. is difficult to hide with CSS. If we wrapped it in an <span> it would be much easier.
Created attachment 151953 [details] [review] Bug 33882: Add spans in dateofbirth column on member.tt To test: 1 Apply patch 2 Do a patron search that will return multiple patrons. 3 Look at the date of birth column and notice the text is now wrapped in a class called 'dateofbirth' 4. Notice that the age hint is wrapped in a class called 'agehint'. 5. Add '.agehint { display: none }' to intranetusercss. 6. Now notice the date of birth still displays but no age information.
Created attachment 151954 [details] [review] Bug 33882: Add spans in dateofbirth column on member.tt To test: 1 Apply patch 2 Do a patron search that will return multiple patrons. 3 Look at the date of birth column and notice the text is now wrapped in a class called 'dateofbirth' 4. Notice that the age hint is wrapped in a class called 'agehint'. 5. Add '.agehint { display: none }' to intranetusercss. 6. Now notice the date of birth still displays but no age information. Signed-off-by: Sam Lau <samalau@gmail.com>
Created attachment 152034 [details] [review] Bug 33882: Add spans in dateofbirth column on member.tt To test: 1 Apply patch 2 Do a patron search that will return multiple patrons. 3 Look at the date of birth column and notice the text is now wrapped in a class called 'dateofbirth' 4. Notice that the age hint is wrapped in a class called 'agehint'. 5. Add '.agehint { display: none }' to intranetusercss. 6. Now notice the date of birth still displays but no age information. Signed-off-by: Sam Lau <samalau@gmail.com> Signed-off-by: David Cook <dcook@prosentient.com.au>
Pushed to master for 23.11. Nice work everyone, thanks!
Pushed to master for 23.05. Nice work everyone, thanks!
Nice work everyone! Pushed to oldstable for 22.11.x