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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 4 Jan 2021 12:29:54 +0000 (13:29 +0100)
commitf0209415245fec941f44ed40ee47d8f163e5bb48
tree641de159d1014f2eee52697393693f8623a58aaa
parent3dc90c66c7e3e53c6fab1792ebac65767e770c5e
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>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt