TPAC: Avoid paginator HTML rather than hiding it
authorDan Scott <dscott@laurentian.ca>
Tue, 24 Sep 2013 02:44:18 +0000 (22:44 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 24 Sep 2013 15:20:28 +0000 (11:20 -0400)
commit33933062a99677e4488f4e2f8f356bc87c473ebf
treeef4bbebb5292af0dbb5d296dc0d165a9e392a7fd
parent36f39c3d66fe26d36e56e4cf7df5620a205db69b
TPAC: Avoid paginator HTML rather than hiding it

Rather than generating HTML and then hiding it via CSS, just don't
generate the HTML at all. In this case, avoid generating the Previous /
Next links in those cases where we're on either page one or the last page
of results respectively.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/parts/result/paginate.tt2