From 5d9c70fe8da15a9edaf2c4aa10b22208f46a7972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Zermatten?= Date: Fri, 6 Sep 2024 17:22:07 +0100 Subject: [PATCH] feat: minor styling of edition section for clarity --- .../themes/responsive/GroupedWork/copyDetails.tpl | 13 +++++++------ code/web/interface/themes/responsive/css/main.css | 3 +++ .../themes/responsive/css/results-list.less | 3 +++ 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/code/web/interface/themes/responsive/GroupedWork/copyDetails.tpl b/code/web/interface/themes/responsive/GroupedWork/copyDetails.tpl index d4a4bd1f1c..7e356d7e3a 100644 --- a/code/web/interface/themes/responsive/GroupedWork/copyDetails.tpl +++ b/code/web/interface/themes/responsive/GroupedWork/copyDetails.tpl @@ -14,19 +14,20 @@ {foreach $summaryList item="item"} - + {if !empty($showEditionCovers) && $showEditionCovers == 1} - + - + {/if} - + {if !empty($item['edition'])} {$item['edition']} {else} - {translate text="Unknown edition" isPublicFacing=true} + {translate text="-" isPublicFacing=true} {/if} - + + {foreach from=$item['summary'] item="item"} diff --git a/code/web/interface/themes/responsive/css/main.css b/code/web/interface/themes/responsive/css/main.css index eaaf5699ba..f9f2000999 100644 --- a/code/web/interface/themes/responsive/css/main.css +++ b/code/web/interface/themes/responsive/css/main.css @@ -10382,6 +10382,9 @@ a.browse-thumbnail.active { .related_record_status.availableOther { color: #c62828; } +.itemSummaryTable tr.sectionHeader { + border-top: solid #505050 4px; +} .itemSummaryTable tr.available { font-weight: bold; } diff --git a/code/web/interface/themes/responsive/css/results-list.less b/code/web/interface/themes/responsive/css/results-list.less index 4d5ece28de..77716e2826 100644 --- a/code/web/interface/themes/responsive/css/results-list.less +++ b/code/web/interface/themes/responsive/css/results-list.less @@ -232,6 +232,9 @@ .related_record_status.availableOther{ color: #c62828; } +.itemSummaryTable tr.sectionHeader { + border-top: solid #505050 4px; +} .itemSummaryTable tr.available{ font-weight: bold; }