tweaks to Patron Summary
authorJason Etheridge <jason@esilibrary.com>
Mon, 16 Sep 2013 18:52:44 +0000 (14:52 -0400)
committerJason Etheridge <jason@esilibrary.com>
Wed, 8 Jul 2015 15:33:01 +0000 (11:33 -0400)
commitb9f522e54396c75b697a2458dc26434b9b0254ad
tree1fa33dffaae0fb8ff9a48a4369f2ea815e77a90c
parent667c7f255e672014c96085a8eb9f92d457a57332
tweaks to Patron Summary

This commit re-uses the same template for the Patron Summary in both display and
search contexts.  The original one for the display context was the one kept and
is the base for these additional changes:

* Card: has been repositioned
* DOB: and EXP: have been added
* only one phone number is displayed, the order of precedence being Day,
  Evening, and Other.  In other words, if the Day phone is not set, then the
  Evening phone is displayed instead.  And if Evening phone is not set, then
  Other phone is displayed
* Bills: is styled in red and bold, if the amount is greater than $0.00
* If an email address is not set, then the text "Confirm the email address" is
  displayed in the alerts/messages column
* Card: is hyperlinked and copies the barcode to the clipboard if clicked

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/templates/base_nodojo.tt2
Open-ILS/src/templates/opac/PatronSearchSummary.tt2 [changed from file to symlink]
Open-ILS/src/templates/opac/PatronSummary.tt2
Open-ILS/src/templates/opac/css/PatronSummary.css.tt2
Open-ILS/src/templates/opac/parts/js.tt2
Open-ILS/src/templates/opac/parts/xuljs.tt2 [new file with mode: 0644]