From b314ba3b02299899abe14552f4b61acda4dd1d7e 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 item, then to a bibliographic record. Notice the change and confirm it makes sense. Signed-off-by: Fridolin Somers --- .../prog/en/modules/tools/upload-images.tt | 28 +++++++++++-------- 1 file changed, 17 insertions(+), 11 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..1aa8f9def0 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,19 @@
    2. - [% ELSE %] - - - - [% END %] -
    -
    +
+
+ [% ELSE %] +
+
    +
  1. + + + +
  2. +
+
+ [% END %]
Options
    -- 2.29.2