Commit bc764d2e authored by Jo Hasenau's avatar Jo Hasenau Committed by Frank Nägler
Browse files

[BUGFIX] Set the correct collapsed/expanded state via fluid condition

Resolves: #75688
Releases: master

Change-Id: Ia8d8e66175f69207cb20796858b3a617862d6c7c
Reviewed-on: https://review.typo3.org/47714


Reviewed-by: default avatarDaniel Goerz <ervaude@gmail.com>
Tested-by: default avatarDaniel Goerz <ervaude@gmail.com>
Reviewed-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
parent 8c729e6f
......@@ -12,7 +12,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingOne">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne" class="collapsed">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne" class="{f:if(condition:'{postAction} == \'deleteTypo3TempFiles\'', then:'expanded', else:'collapsed')}">
<span class="caret"></span>
Clean typo3temp/ folder
</a>
......@@ -27,7 +27,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingTwo">
<h4 class="panel-title">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo" class="{f:if(condition:'{postAction} == \'clearProcessedFiles\'', then:'expanded', else:'collapsed')}">
<span class="caret"></span>
Clear processed files
</a>
......@@ -42,7 +42,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingThree">
<h4 class="panel-title">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree" class="{f:if(condition:'{postAction} == \'clearTables\'', then:'expanded', else:'collapsed')}">
<span class="caret"></span>
Clear tables
</a>
......@@ -57,7 +57,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingFour">
<h4 class="panel-title">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="false" aria-controls="collapseFour" class="{f:if(condition:'{postAction} == \'resetBackendUserUc\'', then:'expanded', else:'collapsed')}">
<span class="caret"></span>
Reset backend user preferences
</a>
......
......@@ -11,7 +11,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingOne">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne" class="collapsed">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne" class="{f:if(condition:'{postAction} == \'testMail\'', then:'expanded', else:'collapsed')}">
<span class="caret"></span>
Mail setup
</a>
......@@ -26,7 +26,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingTwo">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="true" aria-controls="collapseTwo" class="collapsed">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="true" aria-controls="collapseTwo" class="{f:if(condition:'{trueTypeFontTested}', then:'expanded', else:'collapsed')}">
<span class="caret"></span>
True type font settings
</a>
......@@ -41,7 +41,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingThree">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="true" aria-controls="collapseThree" class="collapsed">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="true" aria-controls="collapseThree" class="{f:if(condition:'{convertImageFormatsToJpgTested}', then:'expanded', else:'collapsed')}">
<span class="caret"></span>
Convert image formats to jpg
</a>
......@@ -56,7 +56,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingFour">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="true" aria-controls="collapseFour" class="collapsed">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="true" aria-controls="collapseFour" class="{f:if(condition:'{writeGifAndPngTested}', then:'expanded', else:'collapsed')}">
<span class="caret"></span>
Writing gif and png
</a>
......@@ -71,7 +71,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingFive">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFive" aria-expanded="true" aria-controls="collapseFive" class="collapsed">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFive" aria-expanded="true" aria-controls="collapseFive" class="{f:if(condition:'{scalingImagesTested}', then:'expanded', else:'collapsed')}">
<span class="caret"></span>
Scaling images
</a>
......@@ -86,7 +86,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingSix">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseSix" aria-expanded="true" aria-controls="collapseSix" class="collapsed">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseSix" aria-expanded="true" aria-controls="collapseSix" class="{f:if(condition:'{combiningImagesTested}', then:'expanded', else:'collapsed')}">
<span class="caret"></span>
Combining images
</a>
......@@ -101,7 +101,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingSeven">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseSeven" aria-expanded="true" aria-controls="collapseSeven" class="collapsed">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseSeven" aria-expanded="true" aria-controls="collapseSeven" class="{f:if(condition:'{gdlibTested}', then:'expanded', else:'collapsed')}">
<span class="caret"></span>
GDlib
</a>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment