From 0433dac859d1ca123077a6e1eda355487bf24698 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 2 Dec 2020 08:55:38 +0100 Subject: [PATCH] Bug 27130: Don't display itemnumber under "File type" section There is no need to have the "File type" section when we attach a cover item to an item (we cannot upload a zip file) This patch removes the legend of the fieldset. Test plan: Attach a cover image to an image, then to a bibliographic record. Notice the change and confirm it makes sense. --- .../prog/en/modules/tools/upload-images.tt | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt index 592113b93c..7820e8790b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt @@ -93,10 +93,10 @@ -
- File type -
    - [% UNLESS itemnumber %] + [% UNLESS itemnumber %] +
    + File type +
    1. [% IF (filetype != 'image' ) %] @@ -122,13 +122,17 @@
    2. - [% ELSE %] +
    +
    + [% ELSE %] +
    +
      - [% END %] -
    -
    +
+
+ [% END %]
Options
    -- 2.20.1