Commit 97561918 authored by Elias Häußler's avatar Elias Häußler Committed by Benjamin Franzke
Browse files

[BUGFIX] Fix collapsible elements in Backend User info

All collapsible elements in Backend User info (TSconfig,
exclude fields) can now be collapsed at first click. For
this, `aria-expanded="false"` has been set.

Resolves: #93232
Releases: master
Change-Id: I38fb2d0054a8164be1a0514683ff89b077e15e1d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67349

Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
parent ab386777
......@@ -212,7 +212,7 @@
<f:for each="{nonExcludeFields}" key="tableName" as="table">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="{tableName}-{id}-heading">
<a data-bs-toggle="collapse" title="{item.linkTitle}" data-bs-parent="#{id}" href="#{tableName}-{id}" aria-expanded="true" aria-controls="{tableName}-{id}">
<a data-bs-toggle="collapse" title="{item.linkTitle}" href="#{tableName}-{id}" aria-expanded="false" aria-controls="{tableName}-{id}">
<f:if condition="{table.label}">{f:translate(key:table.label)}</f:if> [{tableName}]
</a>
</div>
......@@ -232,8 +232,8 @@
<f:section name="tsconfig">
<f:if condition="tsconfig">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="{tableName}-{id}-heading">
<a data-bs-toggle="collapse" data-bs-parent="#tsconfig-{id}-heading" href="#tsconfig-{id}" aria-expanded="true" aria-controls="tsconfig-{id}">
<div class="panel-heading" role="tab" id="tsconfig-{id}-heading">
<a data-bs-toggle="collapse" href="#tsconfig-{id}" aria-expanded="false" aria-controls="tsconfig-{id}">
{f:translate(key:'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:TSconfig')}
</a>
</div>
......
Markdown is supported
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