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>
Thu, 21 Jul 2016 17:22:37 +0000 (13:22 -0400)
commit7da3ec0ea9298f68b492269a0144e71a5976b624
tree9d9bf3c4e92dc3cf1e9f27b7c4da6f39cc036dc9
parent46d038055b2a4de0b5cd0ef8e98f4e0b0b861a33
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]