Bug 27135: Adjust "upload image" button when viewing item's cover images
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 3 Dec 2020 08:40:45 +0000 (09:40 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 7 Jan 2021 13:51:22 +0000 (14:51 +0100)
commite3acb51ff8f71b63c74d1f6f16c6b7cc1a8a8721
treeebced5624c9a5f852651896bc498d9f0bc3b7233
parent31b3763546e6fb5b55572e49786d0583b3abfa1a
Bug 27135: Adjust "upload image" button when viewing item's cover images

When viewing the cover image of an item, the "upload image" button is
about to upload an image at biblio level.

Test plan:
- Attach a cover image to an item
- View it
- Notice the "Upload image" button, confirm that with this patch applied
the wording changed and that clicking it will attach a cover image to
the item
- Attach a cover image to the biblio
- View it
- Notice the "Upload image" button, confirm that with this patch applied
the wording changed and that clicking it will attach a cover image to
the biblio

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit f0209415245fec941f44ed40ee47d8f163e5bb48)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt