From: Nick Clemens Date: Tue, 18 Aug 2020 10:23:23 +0000 (+0000) Subject: Bug 8732: (follow-up) Make icon show on opac details and correct pref X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=215718da4e505c524a0fd799c0390979eb10bbaa Bug 8732: (follow-up) Make icon show on opac details and correct pref Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- 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 bf7c2e5..f000aa2 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 4cd737c..2560794 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 ) %]