Skip to content

Commit

Permalink
Fixed an error.
Browse files Browse the repository at this point in the history
  • Loading branch information
siiriylonen committed Nov 5, 2024
1 parent 67a6804 commit bff0b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/finna2/templates/search/controls/view.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<div class="dropdown">
<?php foreach ($viewList as $viewType => $viewData): ?>
<?php if ($viewData['selected']): ?>
<a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown" aria-label="<?=$this->transEsc('show_as')?> . ': ' . <?=$this->transEsc('Show As ' . $viewData['desc'])?>"><?=$this->icon('view-' . $viewType, 'icon-' . $viewType) ?> <span class="<?=($isCollection ?? false) ? 'hidden-xs hidden-sm' : '' ?>"><?=$this->transEsc('Show As ' . $viewData['desc'])?></span> <?=$this->icon('dropdown-open') ?></a>
<a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown" aria-label="<?=$this->transEsc('show_as') . ': ' . $this->transEsc('Show As ' . $viewData['desc'])?>"><?=$this->icon('view-' . $viewType, 'icon-' . $viewType) ?> <span class="<?=($isCollection ?? false) ? 'hidden-xs hidden-sm' : '' ?>"><?=$this->transEsc('Show As ' . $viewData['desc'])?></span> <?=$this->icon('dropdown-open') ?></a>
<?php endif; ?>
<?php endforeach; ?>

Expand Down

0 comments on commit bff0b3d

Please sign in to comment.