TPAC: Refactor bookbag list actions into a common template user/bshum/permanent_bookbag
authorDan Scott <dscott@laurentian.ca>
Wed, 18 Jul 2012 16:27:08 +0000 (12:27 -0400)
committerBen Shum <bshum@biblio.org>
Sun, 22 Jul 2012 01:45:50 +0000 (21:45 -0400)
commit0157af08b509a5edc61632fe539a7713a56fefbb
tree6ceb2a30d97e4b0b5b9068964cc8c877a137a7a7
parent74a4b0cdb0cc474fa7475484e94d3ca88ed91948
TPAC: Refactor bookbag list actions into a common template

The "add to bookbag" actions in both the search results and record
details pages contained a large amount of duplicated code; consolidate
those into a single template that can be included into each page.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/bookbag_actions.tt2 [new file with mode: 0644]
Open-ILS/src/templates/opac/parts/record/summary.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2