[TASK] Use ModuleTemplate API for EXT:indexed_search
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / Resources / Private / Templates / Administration / ExternalDocuments.html
1 {namespace is=TYPO3\CMS\IndexedSearch\ViewHelpers}
2
3 <f:layout name="Administration"/>
4
5 <f:section name="Content">
6 <h2><f:translate key="administration.external.title"/></h2>
7
8 <f:if condition="{records}">
9 <table class="table table-striped table-hover">
10 <thead>
11 <tr>
12 <th><f:translate key="field.fileName"/></th>
13 <th><f:translate key="field.fileSize"/></th>
14 <th><f:translate key="field.wordCount"/></th>
15 <th><f:translate key="field.mtime"/></th>
16 <th><f:translate key="field.indexed"/></th>
17 <th><f:translate key="field.updated"/></th>
18 <th><f:translate key="field.parseTime"/></th>
19 <th><f:translate key="field.groups"/></th>
20 <th><f:translate key="field.sub"/></th>
21 <th><f:translate key="field.cHash"/></th>
22 <th><f:translate key="field.pHash"/></th>
23 <th><f:translate key="field.path"/></th>
24 </tr>
25 </thead>
26 <tbody>
27 <f:for each="{records}" as="data">
28 <tr>
29 <td>
30 <f:format.crop maxCharacters="30">{data.item_title}</f:format.crop>
31 </td>
32 <td>
33 <f:format.bytes decimals="1">{data.item_size}</f:format.bytes>
34 </td>
35 <td>{data.numberOfWords}</td>
36 <td>
37 <is:format.dateTime>{data.item_mtime}</is:format.dateTime>
38 </td>
39 <td>
40 <is:format.dateTime>{data.crdate}</is:format.dateTime>
41 </td>
42 <td>
43 <f:if condition="{date.tstamp}=={date.crdate}">
44 <f:then></f:then>
45 <f:else>
46 <is:format.dateTime>{data.tstamp}</is:format.dateTime>
47 </f:else>
48 </f:if>
49 </td>
50 <td>{data.parsetime}</td>
51 <td>{data.numberOfSections}/{data.grList.0.pcount}/{data.numberOfFulltext}</td>
52 <td>{data.pcount}</td>
53 <td>
54 <f:if condition="{data.cHashParams}">
55 <f:for each="{data.cHashParams}" as="value" key="key">
56 {key}={value}<br>
57 </f:for>
58 </f:if>
59 </td>
60 <td>{data.phash}</td>
61 <td>
62 <f:format.crop maxCharacters="100">{data.data_filename}</f:format.crop>
63 </td>
64 </tr>
65 </f:for>
66 </tbody>
67 </table>
68 </f:if>
69 </f:section>