Skip to content

Commit

Permalink
[BUGFIX] fix header layout in Collapsible CE
Browse files Browse the repository at this point in the history
  • Loading branch information
dmh committed May 21, 2019
1 parent e042647 commit d24ee44
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions Resources/Private/Templates/GridElements/Collapsible.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
<f:section name="Main">
<div class="panel panel-default {layoutClass} {alignClass}">
<div class="panel-heading" role="tab" id="heading-{data.uid}">
<f:variable name="parentHeader">{data.parentgrid_header_layout}</f:variable>
<f:render partial="Header/Header" arguments="{
header: '{f:render(section: \'accordionLink\', arguments: \'{_all}\')}',
layout: '{f:if(condition:\'{parentHeader} > 0 && {parentHeader} < 6 \', then:\'{parentHeader + 1}\')}',
positionClass: 'panel-title',
link: '',
uid: '{data.uid}',
default: 4
}" />
<f:render partial="Header/Header" arguments="{
header: '{f:render(section: \'accordionLink\', arguments: \'{_all}\')}',
layout: '{data.header_layout}',
positionClass: 'panel-title',
link: '',
uid: '{data.uid}',
default: 4 }" />
</div>
<div id="collapse-{data.uid}" class="panel-collapse collapse {f:if(condition: data.pi_flexform.data.columns.lDEF.expanded.vDEF, then: 'in', else: '')}" role="tabpanel">
<div class="panel-body">
Expand Down

0 comments on commit d24ee44

Please sign in to comment.