[TASK] Extension Manager: Add icons and language labels
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Resources / Private / Templates / List / Index.html
1 {namespace em=TYPO3\CMS\Extensionmanager\ViewHelpers}
2
3 <f:layout name="main" />
4 <f:section name="docHeaderRow1">
5 <f:be.buttons.icon uri="{f:uri.action(action:'form',controller:'UploadExtensionFile')}" icon="actions-edit-upload" title="{f:translate(key:'extensionList.uploadExtension')}"/>
6 </f:section>
7 <f:section name="docHeaderRow2">
8 </f:section>
9 <f:section name="Content">
10 <div class="headerRow">
11 <div class="typo3-extensionmanager-headerRowLeft">
12 </div>
13 <div class="typo3-extensionmanager-headerRowRight">
14 <div class="uploadForm" style="display:none;"><f:translate key="extensionList.loading"/><span class="spinner"></span></div>
15 </div>
16 </div>
17 <table id="typo3-extension-list" class="typo3-extension-list">
18 <thead>
19 <tr>
20 <th title="{f:translate(key:'extensionList.header.title.update')}"><f:translate key="extensionList.header.update"/></th>
21 <th title="{f:translate(key:'extensionList.header.title.activate')}"><f:translate key="extensionList.header.activate"/></th>
22 <th><f:translate key="extensionList.header.extensionName"/></th>
23 <th><f:translate key="extensionList.header.extensionKey"/></th>
24 <th><f:translate key="extensionList.header.extensionVersion"/></th>
25 <th><f:translate key="extensionList.header.extensionActions"/></th>
26 <th><f:translate key="extensionList.header.extensionState"/></th>
27 </tr>
28 </thead>
29 <tbody>
30 <f:for each="{extensions}" as="extension" key="extensionKey">
31 <f:if condition="{extension.terObject}">
32 <f:then>
33 <tr id="{extensionKey}" class="{f:if(condition:'{extension.terObject.reviewState} >= 0', then:'', else:'insecure')}">
34 </f:then>
35 <f:else>
36 <tr id="{extensionKey}">
37 </f:else>
38 </f:if>
39 <td>
40 <f:if condition="{extension.updateAvailable}">
41 <f:link.action
42 action="updateCommentForUpdatableVersions"
43 controller="Download"
44 arguments="{extension:extension.key, integerVersion: extension.terObject.integerVersion}"
45 class="updateAvailable"
46 format="json"
47 ><f:translate key="extensionList.update"/></f:link.action>
48 </f:if>
49 </td>
50 <td>
51 <em:toggleExtensionInstallationState extension="{extension}" />
52 </td>
53 <f:if condition="{extension.description}">
54 <f:then>
55 <td title="{extension.description}">
56 </f:then>
57 <f:else>
58 <td>
59 </f:else>
60 </f:if>
61
62 <em:image src="../{extension.siteRelPath}/{extension.ext_icon}" alt="{extension.title}" height="16" />{extension.title}
63 </td>
64 <td>
65 {extensionKey}
66 </td>
67 <td>
68 {extension.version}
69 </td>
70 <td>
71 <em:configureExtension extension="{extension}" />
72 <em:removeExtension extension="{extension}" />
73 <f:be.buttons.icon uri="{f:uri.action(action:'downloadExtensionZip',controller:'Action',arguments:'{extension:extension.key}')}" icon="actions-system-extension-download" title="{f:translate(key:'extensionList.downloadzip')}"/>
74 <em:downloadExtensionData extension="{extension}" />
75 </td>
76 <td class="{extension.state}">
77 {extension.state}
78 </td>
79 </tr>
80 </f:for>
81 </tbody>
82 </table>
83 </f:section>
84
85