tweaks to Patron Summary
authorJason Etheridge <jason@esilibrary.com>
Mon, 16 Sep 2013 18:52:44 +0000 (14:52 -0400)
committerJason Stephenson <jason@sigio.com>
Tue, 14 Mar 2017 15:56:03 +0000 (11:56 -0400)
commit36e8d5831c271fbb4464cb49add9a353f680b3b4
tree15b0fbdd9c264dcdc5657d9ad4de8d2a1adadb17
parentc3bab262c44af302ce4d8b5aa0fbaff5485c3984
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>
Signed-off-by: Jason Stephenson <jason@sigio.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]