InlineRelationList.html 1.59 KB
Newer Older
1
<f:if condition="{relations}">
2
    <f:then>
3
        <ul class="list-unstyled mb-0">
4
5
6
7
8
            <f:for each="{relations}" as="relation" iteration="relationIteration">
                <li>
                    <f:if condition="{relation.isExtension}">
                        <f:if condition="{relation.relatedExtension}">
                            <f:then>
9
                                <f:link.action controller="Extension" action="show" arguments="{extension : relation.relatedExtension}">{relation.relationKey}</f:link.action>
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
                                <f:if condition="{relation.versionString}"> ({relation.versionString})</f:if>
                            </f:then>
                            <f:else>
                                {relation.relationKey}
                                <f:if condition="{relation.versionString}"> ({relation.versionString})</f:if>
                            </f:else>
                        </f:if>
                    </f:if>
                    <f:if condition="{relation.isSystem}">
                        <terfe2:format function="strtoupper">{relation.relationKey}</terfe2:format>
                        <f:if condition="{relation.versionString}"> ({relation.versionString})</f:if>
                    </f:if>
                    <f:if condition="{relation.isCore}">
                        TYPO3
                        <f:if condition="{relation.versionString}"> ({relation.versionString})</f:if>
                    </f:if>
                </li>
            </f:for>
        </ul>
    </f:then>
    <f:else>
        <f:translate key="none"/>
    </f:else>
33
</f:if>