Skip to content

Commit

Permalink
Move close button into sidebar flow. #2253
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Feb 6, 2025
1 parent 5def817 commit c5ddfd1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion application/view/common/resource-select-sidebar.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ $translate = $this->plugin('translate');
?>
<?php $this->headScript()->appendFile($this->assetUrl('js/resource-selector.js', 'Omeka')); ?>
<div id="select-resource" class='sidebar' tabindex="-1">
<a href="#" class="sidebar-close o-icon-close"><span class="screen-reader-text"><?php echo $translate('Close'); ?></span></a>
<div class="sidebar-content">
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions application/view/omeka/admin/item/sidebar-select.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ $expanded = $resourceClassId || $itemSetId || $id;

<div id="item-results">
<h3><?php echo $translate('Select item'); ?></h3>
<a href="#" class="sidebar-close o-icon-close"><span class="screen-reader-text"><?php echo $translate('Close'); ?></span></a>

<div class="search-nav">
<div id="sidebar-resource-search" class="resource-search" data-search-url="<?php echo $escape($this->url(null, [], [], true)); ?>">
Expand Down

0 comments on commit c5ddfd1

Please sign in to comment.