Closed dunxd closed 9 months ago
Also enabled tooltips using new Bootstrap v5 method, and added explanatory tooltips to the download all buttons.
Currently using {{? it.download.length != 0 && it.entries.length > 1 }}
to check when to show download buttons - but that won't work server side as it relies on a javascript method.
Server side rendered this just doesn't show the download all buttons at all.
Solved in #40 for the it.download part. Checking if you have more than 1 entry or not is a luxury I can live without ;-)
I added entriesCount to JSON_renderer.php - it is potential useful to know how many results have been returned and use it in templates, and there doesn't seem to be a way to do it across client and server side.
Indeed, thanks - I had to do the same for preferedData for server-side doT-php and for Twig:
https://github.com/mikespub-org/seblucas-cops/blob/main/templates/twigged/README.md