Skip to content

Commit

Permalink
review fixes pt 7
Browse files Browse the repository at this point in the history
  • Loading branch information
bozatko committed Jan 10, 2025
1 parent 70a6a27 commit 73df0e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/bundle/Resources/public/js/scripts/core/collapse.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@

if (shouldBeToggled) {
const element = bootstrap.Collapse.getOrCreateInstance(collapseNode.querySelector('.ibexa-multi-collapse__single-item'));

if (isExpandAction) {
element.show();
} else {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% trans_default_domain 'ibexa_collapse' %}

<div class="ibexa-multi-collapse__header">
<button type="button" data-multi-collapse-btn-id="{{ multi_collapse_btn_id }}" class="ibexa-multi-collapse-btn btn ibexa-btn ibexa-btn--small ibexa-btn--ghost">
{{ 'collapse.collapse_all'|trans({}, 'ibexa_collapse')|desc('Collapse all sections') }}
</button>
</div>

0 comments on commit 73df0e8

Please sign in to comment.