[TASK] Rewrite JavaScript of ext:documentation to RequireJS
[Packages/TYPO3.CMS.git] / typo3 / sysext / documentation / Resources / Private / Templates / Document / List.html
1 {namespace doc=TYPO3\CMS\Documentation\ViewHelpers}
2
3 <f:layout name="Default" />
4
5 <f:section name="module-headline">
6 <h1><f:translate key="showDocumentation">Show Documentation</f:translate></h1>
7 </f:section>
8
9 <f:section name="Content">
10
11 <div class="headerRow ui-helper-clearfix">
12 <div class="typo3-documentation-headerRowLeft">
13 </div>
14 <div class="typo3-documentation-headerRowRight">
15 </div>
16 </div>
17
18 <table id="typo3-documentation-list" class="table table-striped table-hover typo3-documentation-list">
19 <thead>
20 <tr>
21 <th><f:translate key="tx_documentation_domain_model_document.title" /></th>
22 <th><f:translate key="tx_documentation_domain_model_documenttranslation.description" /></th>
23 <th><f:translate key="tx_documentation_domain_model_documenttranslation.actions" /></th>
24 </tr>
25 </thead>
26 <tbody>
27 <f:for each="{documents}" as="document">
28 <f:for each="{document.translations}" as="translation">
29 <tr id="{document.packageKey}" >
30 <td class="title">
31 <img src="../{document.icon}" title="{translation.title}" alt="{translation.title}" />
32 {translation.title}
33 <f:if condition="{document.extensionKey}">({document.extensionKey})</f:if>
34 </td>
35 <td>{translation.description}</td>
36 <td class="actions icons">
37 <div class="btn-group">
38 <doc:formats documentTranslation="{translation}" />
39 </div>
40 </td>
41 </tr>
42 </f:for>
43 </f:for>
44 </tbody>
45 </table>
46 </f:section>