]> git.evergreen-ils.org Git - working/Evergreen.git/commit
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 02:44:18 +0000 (22:44 -0400)
commit938f11eb5b2652fc197eb628d4a52a449276fb69
tree7f2bad3e8b55388b175ada680aa3e86fa7ead4c4
parent7a01f710ac621d2f2dc2ed4c4ffa1ea79aa1ed5c
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