From aaf4a56a457d110ad2a4dd0b99a7a820645b5870 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 13 Apr 2023 16:17:07 +0200 Subject: [PATCH] Bug 33568: Remove visibility conditions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Owen Leonard Signed-off-by: Laurence Rault Signed-off-by: Emily Lamancusa Signed-off-by: Tomás Cohen Arazi --- .../prog/en/modules/catalogue/detail.tt | 28 ++++++------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index fab350eabc1..7640f1e7a28 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -701,7 +701,7 @@ [% IF (StaffDetailItemSelection) %][% END %] - [% IF Koha.Preference('LocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] + [% IF Koha.Preference('LocalCoverImages') %] [% END %] [% IF ( item_level_itypes ) %][% END %] @@ -722,12 +722,12 @@ - [% IF ( itemdata_uri ) %][% END %] - [% IF ( itemdata_copynumber ) %][% END %] - [% IF ( itemdata_stocknumber ) %][% END %] - [% IF materials %][% END %] - [% IF ( itemdata_itemnotes ) %][% END %] - [% IF ( itemdata_nonpublicnotes ) %][% END %] + + + + + + [% IF ( hostrecords ) %][% END %] [% IF ( analyze ) %][% END %] [% IF ( ShowCourseReserves ) %][% END %] @@ -2517,7 +2517,7 @@ } }, [% END %] - [% IF Koha.Preference('LocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] + [% IF Koha.Preference('LocalCoverImages') %] { data: "", className: "cover", @@ -2684,7 +2684,6 @@ return row.external_id; // FIXME Display link to moredetail } }, - [% IF itemdata_uri %] { data: "me.uri", className: "uri", @@ -2694,8 +2693,6 @@ return row.uri; // FIXME Display link } }, - [% END %] - [% IF ( itemdata_copynumber ) %] { data: "me.copy_number", className: "copynumber", @@ -2705,8 +2702,6 @@ return row.copy_number; // FIXME Display str version } }, - [% END %] - [% IF ( itemdata_stocknumber ) %] { data: "me.inventory_number", className: "stocknumber", @@ -2716,8 +2711,6 @@ return row.inventory_number; } }, - [% END %] - [% IF materials %] { data: "me.materials_notes", className: "materials", @@ -2727,8 +2720,6 @@ return row.materials_notes; } }, - [% END %] - [% IF ( itemdata_itemnotes ) %] { data: "me.public_notes", className: "itemnotes", @@ -2738,8 +2729,6 @@ return row.public_notes; // FIXME Replace \n with br } }, - [% END %] - [% IF itemdata_nonpublicnotes %] { data: "me.internal_notes", className: "nonpublicnote", @@ -2749,7 +2738,6 @@ return row.internal_notes; } }, - [% END %] [% IF ( hostrecords ) %] { data: "", -- 2.34.1
Cover imageItem typeDate accessioned Date last borrowed BarcodeURLCopy numberInventory numberMaterials specifiedPublic notesNon-public notesURLCopy numberInventory numberMaterials specifiedPublic notesNon-public notesHost recordsUsed inCourse reserves