]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/src/templates/opac/parts/record/summary.tt2
LP#1673870: Use separate templates for ebook checkouts and holds
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Mon, 26 Jun 2017 23:23:54 +0000 (16:23 -0700)
committerBill Erickson <berickxx@gmail.com>
Fri, 1 Sep 2017 20:06:50 +0000 (16:06 -0400)
commit4f9df515878d90c031c75c9d4fb5ebf486a87d4c
treeff25684d66b314c44e32d6921ff42f5fa674a205
parent34b67a5e983b92c9deeb1da5cfabb14f5bf7557c
LP#1673870: Use separate templates for ebook checkouts and holds

Previously we used the same TT2 template for listing checkouts and
performing a checkout, and for listing holds and placing a hold.  This
leads to problems; in particular, URL parameters required for checkout
and hold actions were "sticky," so viewing your holds after placing a
hold would show the "Place Hold" UI instead of a list of holds.  This
commit introduces separate templates for ebook actions as a workaround.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/opac/myopac/ebook_checkout.tt2 [new file with mode: 0644]
Open-ILS/src/templates/opac/myopac/ebook_circs.tt2
Open-ILS/src/templates/opac/myopac/ebook_holds.tt2
Open-ILS/src/templates/opac/myopac/ebook_place_hold.tt2 [new file with mode: 0644]
Open-ILS/src/templates/opac/parts/record/summary.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2
Open-ILS/web/js/ui/default/opac/ebook_api/loggedin.js