From ed1c4c21d2d969b35e781946feed3c4f490dd257 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 18 Aug 2020 10:23:23 +0000 Subject: [PATCH] Bug 8732: (follow-up) Make icon show on opac details and correct pref --- .../en/modules/admin/preferences/searching.pref | 12 +++++----- .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 26 +++++++++++----------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref index bf7c2e5f8c..f000aa28c4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref @@ -260,6 +260,12 @@ Searching: yes: "search" no: "don't search" - on all variations of the ISBN. + - + - pref: BiblioItemtypeInfo + choices: + yes: "Display" + no: "Don't display" + - " Koha record level itemtype info on detail and result pages in the OPAC and staff client. This info also displays if the item-level_itypes system preference is set to bibliographic record." Did you mean/spell checking: - - "Swedish service for spellchecking.
" @@ -270,9 +276,3 @@ Searching: - LIBRIS base URL - pref: LibrisURL - "Please only change this if you are sure it needs changing." - - - - pref: BiblioItemtypeInfo - choices: - yes: "Display" - no: "Don't display" - - " Koha record level itemtype info on detail and result pages in the OPAC. This info also displays if the item-level_itypes system preference is set to bibliographic record." diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 256201b5a1..3b5a68c75f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -246,19 +246,6 @@ Year: [% copyrightdate | html %] [% END %] - [% IF ( !item_level_itypes || Koha.Preference('BiblioItemtypeInfo') ) %] - Item type: - [% IF ( imageurl && !Koha.Preference('OpacNoItemTypeImages') ) %] - - [% END %] - [% IF ( description ) %] - [% description | html %] - [% ELSE %] - [% itemtype | html %] - [% END %] - - [% END %] - [% IF ( MARCURLS ) %]
Online resources: