[BUGFIX] Swap mixed up labels in admin panel page cache info
[Packages/TYPO3.CMS.git] / typo3 / sysext / adminpanel / Resources / Private / Templates / Modules / Info / General.html
1 <html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
2 <f:if condition="{info.noCache}">
3
4 <f:if condition="{info.imagesOnPage.total} > 0">
5 <h2 class="typo3-adminPanel-headline">Images</h2>
6 <div class="typo3-adminPanel-table-overflow">
7 <table class="typo3-adminPanel-table typo3-adminPanel-table-debug">
8 <thead>
9 <tr>
10 <th scope="col" class="typo3-adminPanel-table-cell-key"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:key"/></th>
11 <th scope="col"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:value"/></th>
12 </tr>
13 </thead>
14 <tbody>
15 <tr>
16 <th scope="row" class="typo3-adminPanel-table-cell-key"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:imagesOnPage"/></th>
17 <td>
18 <f:variable name="typeClass" value="string" />
19 <f:if condition="{info.imagesOnPage.total as integer} === {info.imagesOnPage.total}"><f:variable name="typeClass" value="integer" /></f:if>
20 <f:if condition="{info.imagesOnPage.total as float} === {info.imagesOnPage.total}"><f:variable name="typeClass" value="float" /></f:if>
21 <pre class="typo3-adminPanel-dump typo3-adminPanel-dump-{typeClass}">{info.imagesOnPage.total}</pre>
22 </td>
23 </tr>
24 <f:for each="{info.imagesOnPage.files}" as="file">
25 <tr>
26 <th scope="row" class="typo3-adminPanel-table-cell-key">
27 {file.name}
28 </th>
29 <td>
30 <f:variable name="typeClass" value="string" />
31 <f:if condition="{file.sizeHuman as integer} === {file.sizeHuman}"><f:variable name="typeClass" value="integer" /></f:if>
32 <f:if condition="{file.sizeHuman as float} === {file.sizeHuman}"><f:variable name="typeClass" value="float" /></f:if>
33 <pre class="typo3-adminPanel-dump typo3-adminPanel-dump-{typeClass}">{file.sizeHuman}</pre>
34 </td>
35 </tr>
36 </f:for>
37 <tr>
38 <th scope="row" class="typo3-adminPanel-table-cell-key"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:imagesSize"/></th>
39 <td>
40 <f:variable name="typeClass" value="string" />
41 <f:if condition="{info.imagesOnPage.totalSize as integer} === {info.imagesOnPage.totalSize}"><f:variable name="typeClass" value="integer" /></f:if>
42 <f:if condition="{info.imagesOnPage.totalSize as float} === {info.imagesOnPage.totalSize}"><f:variable name="typeClass" value="float" /></f:if>
43 <pre class="typo3-adminPanel-dump typo3-adminPanel-dump-{typeClass}">{info.imagesOnPage.totalSize}</pre>
44 </td>
45 </tr>
46 </tbody>
47 </table>
48 </div>
49 </f:if>
50
51 <f:render partial="Data/TableKeyValue" arguments="{label: 'Document Size', data: '{
52 \'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:DocumentSize\': \'{info.documentSize as integer}\'
53 }'}" debug="false"/>
54
55 </f:if>
56
57 <f:render partial="Data/TableKeyValue" arguments="{label: 'Page', data: '{
58 \'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:pageUid\': info.pageUid,
59 \'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:pageType\': info.pageType
60 }'}" debug="false"/>
61
62 <f:render partial="Data/TableKeyValue" arguments="{label: 'Frontend User Group', data: '{
63 \'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:groupList\': info.groupList
64 }'}" debug="false"/>
65
66 <f:if condition="{info.noCache}">
67 <f:then><f:variable name="isCachedInfo">LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:noCache_no</f:variable></f:then>
68 <f:else><f:variable name="isCachedInfo">LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:noCache_yes</f:variable></f:else>
69 </f:if>
70 <f:render partial="Data/TableKeyValue" arguments="{label: 'Cache', data: '{
71 \'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:noCache\': isCachedInfo
72 }'}" debug="false"/>
73
74 <f:render partial="Data/TableKeyValue" arguments="{label: 'UserIntObjects', data: '{
75 \'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:countUserInt\': info.countUserInt
76 }'}" debug="false"/>
77
78 <f:if condition="{info.feUser.uid} > 0">
79 <f:render partial="Data/TableKeyValue" arguments="{label: 'Frontend User', data: '{
80 \'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:feuserName\': info.feUser.username,
81 \'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:feuserId\': info.feUser.uid
82 }'}" debug="false"/>
83 </f:if>
84
85 <f:render partial="Data/TableKeyValue" arguments="{label: 'Total Parsetime', data: '{
86 \'LLL:EXT:adminpanel/Resources/Private/Language/locallang_info.xlf:totalParsetime\': \'{info.totalParsetime} ms\'
87 }'}" debug="false"/>
88
89 </html>