Skip to content

Commit 88bc498

Browse files
committed
remove test
1 parent a859104 commit 88bc498

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

  • Resources/Private/Plugins/Kitodo/Partials/TableOfContents

Resources/Private/Plugins/Kitodo/Partials/TableOfContents/Children.html

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,25 @@
1414
data-namespace-typo3-fluid="true">
1515

1616
<f:for each="{children}" as="child">
17-
<f:if condition="{child.orderlabel}">
18-
<f:then>
19-
<f:variable name="tx-dlf-tableofcontent-element" value=" true" />
20-
</f:then>
21-
<f:else>
22-
<f:variable name="tx-dlf-tableofcontent-element" value="" />
23-
</f:else>
24-
</f:if>
2517
<!-- dfgviewer Children 17 child.type {child.type} -->
2618
<f:switch expression="{child.ITEM_STATE}">
2719
<f:case value="ACT">
28-
<li class="tx-dlf-tableofcontents-active {child.type}{tx-dlf-tableofcontent-element}">
20+
<li class="tx-dlf-tableofcontents-active {child.type}">
2921
</f:case>
3022
<f:case value="CUR">
31-
<li class="tx-dlf-tableofcontents-current {child.type}{tx-dlf-tableofcontent-element}">
23+
<li class="tx-dlf-tableofcontents-current {child.type}">
3224
</f:case>
3325
<f:case value="ACTIFSUB">
34-
<li class="tx-dlf-tableofcontents-active tx-dlf-tableofcontents-submenu {child.type}{tx-dlf-tableofcontent-element}">
26+
<li class="tx-dlf-tableofcontents-active tx-dlf-tableofcontents-submenu {child.type}">
3527
</f:case>
3628
<f:case value="CURIFSUB">
37-
<li class="tx-dlf-tableofcontents-current tx-dlf-tableofcontents-submenu {child.type}{tx-dlf-tableofcontent-element}">
29+
<li class="tx-dlf-tableofcontents-current tx-dlf-tableofcontents-submenu {child.type}">
3830
</f:case>
3931
<f:case value="IFSUB">
40-
<li class="tx-dlf-tableofcontents-no tx-dlf-tableofcontents-submenu {child.type}{tx-dlf-tableofcontent-element}">
32+
<li class="tx-dlf-tableofcontents-no tx-dlf-tableofcontents-submenu {child.type}">
4133
</f:case>
4234
<f:defaultCase>
43-
<li class="tx-dlf-tableofcontents-no {child.type}{tx-dlf-tableofcontent-element}">
35+
<li class="tx-dlf-tableofcontents-no {child.type}">
4436
</f:defaultCase>
4537
</f:switch>
4638

0 commit comments

Comments
 (0)