Skip to content

Commit

Permalink
Merge pull request #464 from helsingborg-stad/3.0/fix/list-title-not-…
Browse files Browse the repository at this point in the history
…showing

Fix: List title not showing
  • Loading branch information
Anna authored Sep 8, 2023
2 parents 62b9c04 + 9a69dcb commit 8487d1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/php/Module/Posts/views/expandable-list.blade.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
<div class="o-grid{{ !empty($stretch) ? ' o-grid--stretch' : '' }}">
<div class="o-grid-12">
@include('partials.post-filters')

@card([
'heading' => $postTitle,
'heading' => false,
'classList' => [$classes],
'attributeList' => [
'js-filter-container' => $ID,
'aria-labelledby' => 'mod-posts-' . $ID . '-label'
],
'context' => 'module.posts.expandablelist'
])
@if(!$hideTitle && !empty($postTitle))
<div class="c-card__header">
@include('partials.post-title', ['variant' => 'h4', 'classList' => []])
</div>
@endif
<div>
@if (!isset($allow_freetext_filtering) || $allow_freetext_filtering)
<div class="c-card__body" aria-label="{{ __('Search', 'municipio') }}">
Expand Down
1 change: 1 addition & 0 deletions source/php/Module/Posts/views/list.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@include('partials.post-filters')

@card([
'heading' => false,
'classList' => [$classes],
'attributeList' => [
'aria-labelledby' => 'mod-posts-' . $ID . '-label'
Expand Down

0 comments on commit 8487d1d

Please sign in to comment.