Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

See all locations enhancement #122

Draft
wants to merge 11 commits into
base: 24.10.00_see_all_locations_enhancement
Choose a base branch
from
Prev Previous commit
Next Next commit
feat: minor styling of edition section for clarity
  • Loading branch information
Chloe070196 committed Oct 1, 2024
commit 71a4cd294ada9f127c8583c23d3a023fbdba4f76
13 changes: 7 additions & 6 deletions code/web/interface/themes/responsive/GroupedWork/copyDetails.tpl
Original file line number Diff line number Diff line change
@@ -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}>
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
@@ -232,6 +232,9 @@
.related_record_status.availableOther{
color: #c62828;
}
.itemSummaryTable tr.sectionHeader {
border-top: solid #505050 4px;
}
.itemSummaryTable tr.available{
font-weight: bold;
}