From 3c2690162502fd00ab37eb73a760817e9b5ea58c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Zermatten?= Date: Wed, 28 Aug 2024 17:30:23 +0100 Subject: [PATCH] feat: book cover thumbnails In the 'Where is it?' modal, also display the cover for each record found. Only do so if Show Covers for Editions is enabled in Grouped Work Display Setting. --- .../themes/responsive/GroupedWork/copyDetails.tpl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/web/interface/themes/responsive/GroupedWork/copyDetails.tpl b/code/web/interface/themes/responsive/GroupedWork/copyDetails.tpl index 9f14954ed6..84b52be22b 100644 --- a/code/web/interface/themes/responsive/GroupedWork/copyDetails.tpl +++ b/code/web/interface/themes/responsive/GroupedWork/copyDetails.tpl @@ -3,6 +3,9 @@ + {if !empty($showEditionCovers) && $showEditionCovers == 1} + + {/if} @@ -13,6 +16,11 @@ {assign var=numRowsShown value=0} {foreach from=$summary item="item"} + {if !empty($showEditionCovers) && $showEditionCovers == 1} + + {/if} {if $item.onOrderCopies > 0} {if !empty($showOnOrderCounts)}
{translate text="Available Copies" isPublicFacing=true} {translate text="Edition" isPublicFacing=true} {translate text="Location" isPublicFacing=true}
+ + {translate text="%1% on order" 1=$item.onOrderCopies isPublicFacing=true}