Skip to content

Commit

Permalink
feat: minor styling of edition section for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Chloe070196 committed Sep 6, 2024
1 parent 63cc9e5 commit 5d9c70f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
13 changes: 7 additions & 6 deletions code/web/interface/themes/responsive/GroupedWork/copyDetails.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,20 @@
</thead>
<tbody>
{foreach $summaryList item="item"}
<tr>
<tr class="sectionHeader">
{if !empty($showEditionCovers) && $showEditionCovers == 1}
<td class="col-tn-2 col-md-2 col-lg-2">
<th class="col-tn-2 col-md-2 col-lg-2">
<img src="{$item['editionCoverUrl']}" class="img-thumbnail {$coverStyle}">
</td>
</th>
{/if}
<td colspan="4">
<th>
{if !empty($item['edition'])}
{$item['edition']}
{else}
{translate text="Unknown edition" isPublicFacing=true}
{translate text="-" isPublicFacing=true}
{/if}
</td>
</th>
<th colspan="2"><th>
</tr>
{foreach from=$item['summary'] item="item"}
<tr {if !empty($item.availableCopies)}class="available" {/if}>
Expand Down
3 changes: 3 additions & 0 deletions code/web/interface/themes/responsive/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions code/web/interface/themes/responsive/css/results-list.less
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@
.related_record_status.availableOther{
color: #c62828;
}
.itemSummaryTable tr.sectionHeader {
border-top: solid #505050 4px;
}
.itemSummaryTable tr.available{
font-weight: bold;
}
Expand Down

0 comments on commit 5d9c70f

Please sign in to comment.