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>
Tue, 27 May 2014 20:02:10 +0000 (16:02 -0400)
commit25ef09c2ddb5bf40db299ad602d8345273e544c7
treec4619cf588c1e6b069d354dc84c6abf238a4414b
parent94fc07b7b22b6ddc5d5c3b9ce8465beaf66db0fe
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]