From 215718da4e505c524a0fd799c0390979eb10bbaa 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 Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../modules/admin/preferences/searching.pref | 12 ++++----- .../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 4cd737c575..2560794af0 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:
    @@ -293,6 +280,19 @@ [% END # / IF MARCURLS %] [% END # / IF OPACXSLTDetailsDisplay %] + [% 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 ( LibraryThingForLibrariesID ) %] [% UNLESS ( LibraryThingForLibrariesTabbedView ) %] -- 2.39.5