From 4cdfd66c32a3dec2b6c95989f074e1d2c59625a0 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 10 Apr 2023 15:12:05 +0000 Subject: [PATCH] Bug 32041: Enforce SyndeticsCoverImageSize everywhere This patch add the SyndeticsCoverImageSize to the folling pages: koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt To test: 1. Turn on SyndeticsCoverImages and SyndeticsEnabled. 2. Check the staff results page and make sure you can change the image size via SyndeticsCoverImageSize. 3. Check the OPAC results page. 4. Turn on 'OPACShelfBrowser' and make sure you change the image sizes within the shelf browser. 5. Test the OPAC checkout history page. ( opac-readingrecord.tt ) 6. Have a checkout and an overdue to test the 2 tables on the OPAC summary pahe. ( opac-user.tt ) Signed-off-by: Barbara Johnson Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit daac367f300cea09688aa184c6ead1cd9a978f15) Signed-off-by: Jacob O'Mara (cherry picked from commit a48ed69eb2c33c660854d3cf560e121a0731161a) Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 3 ++- koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++-- 7 files changed, 9 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index faac99a48c..c10a34eedf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -21,6 +21,7 @@ [% CoceProviders = Koha.Preference('CoceProviders') %] [% CoceHost = Koha.Preference('CoceHost') %] [% SyndeticsCovers = Koha.Preference('SyndeticsEnabled') && Koha.Preference('SyndeticsCoverImages') %] +[% SyndeticsCoverImageSize = Koha.Preference('SyndeticsCoverImageSize') %]