Koha/koha-tmpl/opac-tmpl/bootstrap/en/xslt
Tomas Cohen Arazi 0291c1e7e7 Bug 15851: Only display the analytics link when required
This patch makes opac-detail.pl query for analytics the same way it
would do with the generated link (i.e. based on UseControlNumber) and
passes a flag to the XSLT so it displays (or not) the 'Analytics' link.

To test:
1. Apply the first patch
2. Have a known record without analytics
3. Open the record in the OPAC
=> FAIL: It shows the 'Analytics' link
4. Have a record known to have analytics and open in OPAC, on a separate
   tab
=> SUCCESS: It shows the 'Analytics' link
5. Apply this patch and restart_all
6. Reload the tabs
=> SUCCESS: It shows the link where it has to, and hides it where it
shouldn't be displayed
7. Sign off :-D

Sponsored-by: Orex Digital

Signed-off-by: Hugo Agud <hagud@orex.es>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-09-03 14:18:23 +02:00
..
compact.xsl
MARC21Languages.xsl Bug 25082: Make 041 descriptions display, if authorised value list is used 2020-05-11 09:46:02 +01:00
MARC21slim2OPACDetail.xsl Bug 15851: Only display the analytics link when required 2020-09-03 14:18:23 +02:00
MARC21slim2OPACResults.xsl Bug 8732: undo XSLT changes 2020-08-24 12:10:53 +02:00
MARC21slimUtils.xsl Bug 25082: Don't remove characters from string 2020-05-11 09:46:18 +01:00
NORMARCslim2OPACDetail.xsl Bug 25238: Fix semantic heading for opac-details 2020-06-24 15:05:02 +02:00
NORMARCslim2OPACResults.xsl Bug 22672: Change <i> to <em> and <b> to <strong> in templates, includes, xslt 2020-06-29 12:37:02 +02:00
NORMARCslimUtils.xsl Bug 14716: Fix more unencoded url parameters. 2018-10-31 13:19:23 +00:00
plainMARC.xsl
UNIMARCslim2OPACDetail.xsl Bug 8732: undo XSLT changes 2020-08-24 12:10:53 +02:00
UNIMARCslim2OPACResults.xsl Bug 22672: Change <i> to <em> and <b> to <strong> in templates, includes, xslt 2020-06-29 12:37:02 +02:00
UNIMARCslimUtils.xsl Bug 23383: fix IdRef syspref test in XSLT 2020-03-16 10:42:02 +00:00