LP1116258 - Hide download circ history if none to be found
authorBen Shum <bshum@biblio.org>
Fri, 15 Mar 2013 05:04:06 +0000 (01:04 -0400)
committerBen Shum <bshum@biblio.org>
Fri, 15 Mar 2013 16:24:16 +0000 (12:24 -0400)
commit9c1d4b6e77758b0dfc22526802c9fadb83a08fd0
treea4e01e45226248ef1e2738a57a0ba8064042a29c
parentef4000cce538a9b57a8492be4e741c5323795a60
LP1116258 - Hide download circ history if none to be found

As noted in LP1116258, if there is no circ history for a patron, but they
click on the Download CSV button, it leads them to unhappy server errors.

So, hide the Download CSV button unless the number of circs > 0.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Open-ILS/src/templates/opac/myopac/circ_history.tt2