]> git.koha-community.org Git - koha.git/commit
Bug 9403: Material type icons not showing for XSLT default view in intranet
authorKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 17 Jan 2013 16:49:08 +0000 (17:49 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 21 Mar 2013 16:00:38 +0000 (12:00 -0400)
commit2618c055684a685c9f841b58747474a4147a78ac
tree934c22d4c38d8231c9457bdf40ea7a89f0c782fa
parent6807d7e3383e015ac787bcd327bfd8b512ea2a78
Bug 9403: Material type icons not showing for XSLT default view in intranet

Implements the material type icons shown in the MARC21 XSLT result list
of the OPAC for the intrant result list.

Also adds the system preference DisplayIconsXSLT as an intranet analogue
for the OPAC system preference DisplayOPACiconsXSLT and corrects the
descriptions of both preferences in the syspref editor.

To test:
0) Run database update to add new system preference
1) Activate default XSLTResultsDisplay
2) Check the new system preference DisplayIconsXSLT shows up correctly
  and is activated by default. Compare descriptions between DisplayIconsXSLT
  and DisplayOPACiconsXSLT.
3) Check the intranet result list for icons showing up after 'Type:' and
  before the corresponding description. Detail pages should be showing
  the 'Type:' as before.
4) Turn off DisplayIconsXSLT.
5) Check the line containing 'Type:', format and audience information is now
  hidden from the result list.
6) Check that the 'Type:'line is also hidden from the detail page.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
17 files changed:
C4/XSLT.pm
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl
koha-tmpl/intranet-tmpl/prog/img/famfamfam/silk/book.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/img/famfamfam/silk/book_link.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/img/famfamfam/silk/book_open.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/img/famfamfam/silk/computer_link.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/img/famfamfam/silk/film.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/img/famfamfam/silk/map.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/img/famfamfam/silk/music.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/img/famfamfam/silk/newspaper.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/img/famfamfam/silk/report_disk.png [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/img/famfamfam/silk/sound.png [new file with mode: 0644]