Bug 21772: Move OPAC holds and account tables into .inc
authorAgustin Moyano <agustinmoyano@theke.io>
Thu, 7 Mar 2019 18:51:46 +0000 (15:51 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 28 Mar 2019 18:16:48 +0000 (18:16 +0000)
commit6a7d4b19c7fa224fc1a5abd596a81d3ca52f43f9
tree659cb82e6fad94fd0a6358ba7687ec19e59c4f35
parent0b1809bb9386b839d8dceae84f751f7ff8c0ad01
Bug 21772: Move OPAC holds and account tables into .inc

This patch moves the code to render the account and holds information
for the patron into include files. They are loaded in the opac-user.tt
and opac-account.tt templates respectively.

To test:
1) Have a patron with account lines and holds
2) Notice they are displayed in the patron's detail section in the OPAC
3) Apply this patch
4) Reload the patron's detail page
=> SUCESS: Everything looks the same, no behaviuor or layout change.
5) Sign off

Sponsored-by: City of Portsmouth Public Library

Signed-off-by: Sarah Cornell <sbcornell@cityofportsmouth.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc [new file with mode: 0644]
koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc [new file with mode: 0644]
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt