Bugzilla – Attachment 108769 Details for
Bug 8732
Add a system preference to allow users to choose to display an icon based on the Koha bibliographic level itemtype
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8732: (follow-up) Make icon show on opac details and correct pref
Bug-8732-follow-up-Make-icon-show-on-opac-details-.patch (text/plain), 4.47 KB, created by
Katrin Fischer
on 2020-08-20 22:50:32 UTC
(
hide
)
Description:
Bug 8732: (follow-up) Make icon show on opac details and correct pref
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-08-20 22:50:32 UTC
Size:
4.47 KB
patch
obsolete
>From 702f13d972e7498739d8bafed81bc48580a10f71 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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 <katrin.fischer.83@web.de> >--- > .../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.<br/>" >@@ -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 @@ > <span class="results_summary year"><span class="label">Year: </span>[% copyrightdate | html %]</span> > [% END %] > >- [% IF ( !item_level_itypes || Koha.Preference('BiblioItemtypeInfo') ) %] >- <span class="results_summary itemtype"><span class="label">Item type: </span> >- [% IF ( imageurl && !Koha.Preference('OpacNoItemTypeImages') ) %] >- <img src="[% imageurl | html %]" alt="" /> >- [% END %] >- [% IF ( description ) %] >- [% description | html %] >- [% ELSE %] >- [% itemtype | html %] >- [% END %] >- </span> >- [% END %] >- > [% IF ( MARCURLS ) %] > <div class="results_summary online_resources"><span class="label">Online resources:</span> > <ul> >@@ -293,6 +280,19 @@ > [% END # / IF MARCURLS %] > [% END # / IF OPACXSLTDetailsDisplay %] > >+ [% IF ( !item_level_itypes || Koha.Preference('BiblioItemtypeInfo') ) %] >+ <span class="results_summary itemtype"><span class="label">Item type: </span> >+ [% IF ( imageurl && !Koha.Preference('OpacNoItemTypeImages') ) %] >+ <img src="[% imageurl | html %]" alt="" /> >+ [% END %] >+ [% IF ( description ) %] >+ [% description | html %] >+ [% ELSE %] >+ [% itemtype | html %] >+ [% END %] >+ </span> >+ [% END %] >+ > <!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them --> > [% IF ( LibraryThingForLibrariesID ) %] > [% UNLESS ( LibraryThingForLibrariesTabbedView ) %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8732
:
12029
|
12047
|
12614
|
12722
|
12870
|
16453
|
16454
|
21820
|
21821
|
53470
|
53471
|
91885
|
92383
|
103488
|
103548
|
106831
|
106836
|
106848
|
106948
|
107705
|
107706
|
107707
|
107709
|
108322
|
108441
|
108764
|
108765
|
108766
|
108767
|
108768
| 108769 |
108770