]> git.koha-community.org Git - koha.git/commit
Bug 26145: Hide 'Upload image' if no CoverImage pref is set
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 18 Aug 2020 13:56:02 +0000 (15:56 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Oct 2020 09:28:41 +0000 (11:28 +0200)
commit176a678fbe7ee1a8484c0123358e97a5d73487c5
tree3e0d7e93378ddb02ac8763fe3a07cd6268bca730
parenta4ca6c144142115dc3e184ae078d306c104d446d
Bug 26145: Hide 'Upload image' if no CoverImage pref is set

If LocalCoverImages AND OPACLocalCoverImages are disabled, we should not
let the ability to upload an image for the items.

We should also hide the column "cover image" in the tables

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/detail.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt