[BUGFIX] Fix wrong matcher class name
[Packages/TYPO3.CMS.git] / typo3 / sysext / info_pagetsconfig / Resources / Private / Partials / PageZero.html
index 5ce6e45..fbeafd8 100644 (file)
@@ -1,18 +1,25 @@
 <div class="nowrap">
-    <div class="table-fit">
-        <table class="table table-striped table-hover" id="tsconfig-overview">
-            <thead>
-                <tr>
-                    <th>{f:translate(key: 'LLL:EXT:info_pagetsconfig/Resources/Private/Language/locallang.xlf:pagetitle')}</th>
-                    <th>{f:translate(key: 'LLL:EXT:info_pagetsconfig/Resources/Private/Language/locallang.xlf:included_tsconfig_files')}</th>
-                    <th>{f:translate(key: 'LLL:EXT:info_pagetsconfig/Resources/Private/Language/locallang.xlf:written_tsconfig_lines')}</th>
-                </tr>
-            </thead>
-            <tbody>
-                <f:for each="{overviewOfPagesUsingTSConfig}" as="line">
-                    <f:render partial="PageZeroTableRow" arguments="{line: line}" />
-                </f:for>
-            </tbody>
-        </table>
-    </div>
+    <f:if condition="{overviewOfPagesUsingTSConfig}">
+        <f:then>
+            <div class="table-fit">
+                <table class="table table-striped table-hover" id="tsconfig-overview">
+                    <thead>
+                        <tr>
+                            <th>{f:translate(key: 'LLL:EXT:info_pagetsconfig/Resources/Private/Language/locallang.xlf:pagetitle')}</th>
+                            <th>{f:translate(key: 'LLL:EXT:info_pagetsconfig/Resources/Private/Language/locallang.xlf:included_tsconfig_files')}</th>
+                            <th>{f:translate(key: 'LLL:EXT:info_pagetsconfig/Resources/Private/Language/locallang.xlf:written_tsconfig_lines')}</th>
+                        </tr>
+                    </thead>
+                    <tbody>
+                        <f:for each="{overviewOfPagesUsingTSConfig}" as="line">
+                            <f:render partial="PageZeroTableRow" arguments="{line: line}" />
+                        </f:for>
+                    </tbody>
+                </table>
+            </div>
+        </f:then>
+        <f:else>
+            <f:be.infobox message="{f:translate(key: 'LLL:EXT:info_pagetsconfig/Resources/Private/Language/locallang.xlf:tsconf_noPageTSconfig')}" state="-1" />
+        </f:else>
+    </f:if>
 </div>
\ No newline at end of file