Skip to content

Commit

Permalink
Merge pull request #89 from AlexanderBlanchardAC/24.07.00_summon_show…
Browse files Browse the repository at this point in the history
…_search_tools

24.07.00 summon show search tools
  • Loading branch information
AlexanderBlanchardAC authored Jul 22, 2024
2 parents 3d91049 + cf08f68 commit 73f279b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@
</div>
<div class="col-xs-6">
<div id="selected-browse-label">
<div class="btn-group btn-group-sm" data-toggle="buttons">
<label for="covers" title="Covers" class="btn btn-sm btn-default" tabindex="0"><input onchange="AspenDiscovery.Searches.toggleDisplayMode(this.id)" type="radio" id="covers">
<span class="thumbnail-icon" role="presentation"></span><span> {translate text=Covers isPublicFacing=true}</span>
</label>
<label for="list" title="Lists" class="btn btn-sm btn-default" tabindex="0"><input onchange="AspenDiscovery.Searches.toggleDisplayMode(this.id)" type="radio" id="list">
<span class="list-icon" role="presentation"></span><span> {translate text=List isPublicFacing=true}</span>
</label>
</div>
<div class="btn-group" id="hideSearchCoversSwitch"{if $displayMode != 'list'} style="display: none;"{/if}>
<label for="hideCovers" class="checkbox{* control-label*}"> {translate text='Hide Covers' isPublicFacing=true}
<input id="hideCovers" type="checkbox" onclick="AspenDiscovery.Account.toggleShowCovers(!$(this).is(':checked'))" {if $showCovers == false}checked="checked"{/if}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@
<input class="form-check-input" type="checkbox" id="hideCovers" {if $showCovers == false}checked{/if} style="position: relative; top: 5px">
<label class="form-check-label" for="hideCovers">{translate text='Hide Covers' isPublicFacing=true}</label>
</div>
<div class="btn-group btn-group-sm" data-toggle="buttons" style="margin-right: 1rem">
<label for="covers" title="Covers" class="btn btn-sm btn-default"><input onchange="AspenDiscovery.Searches.toggleDisplayMode(this.id)" type="radio" id="covers">
<i class='fas fa-th'></i> {translate text=Covers isPublicFacing=true}
</label>
<label for="list" title="Lists" class="btn btn-sm btn-default"><input onchange="AspenDiscovery.Searches.toggleDisplayMode(this.id)" type="radio" id="list">
<i class='fas fa-list'></i> {translate text=List isPublicFacing=true}
</label>
</div>
{if $showSearchTools || ($loggedIn && count($userPermissions) > 0)}
<div class="btn-group btn-group-sm">
<button data-toggle="dropdown" class="btn btn-sm btn-default dropdown-toggle" type="button" id="dropdownSearchToolsBtn"><i class="fas fa-toolbox"></i> {translate text='Search Tools' isPublicFacing=true} <span class="caret"></span></button>
Expand Down
1 change: 1 addition & 0 deletions code/web/release_notes/24.08.00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
// alexander
### Summon Updates
- Adjust code to ensure that the filter applies correctly no matter what page of results users are on when they apply it. (*AB*)
- Remove unimplemented option to change search results from List to Covers mode. (*AB*)

// jacob

Expand Down

0 comments on commit 73f279b

Please sign in to comment.