[TASK] EM: remove nested pagination in showAllVersions 62/19662/2
authorFelix Kopp <felix-source@phorax.com>
Sat, 6 Apr 2013 11:21:00 +0000 (13:21 +0200)
committerBenjamin Mack <benni@typo3.org>
Sat, 6 Apr 2013 14:29:53 +0000 (16:29 +0200)
The dataTable was encapsulated within a pagination.
Now there is only the dataTable which displays all versions at once.

Change-Id: I3c82beea56bc225f9197b25b214e10c5c41efe4b
Fixes: #46976
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19662
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
typo3/sysext/extensionmanager/Resources/Private/Partials/List/TerShowVersionsTable.html
typo3/sysext/extensionmanager/Resources/Private/Templates/List/ShowAllVersions.html

index 5d01765..20008c3 100644 (file)
@@ -1,20 +1,20 @@
 {namespace em=TYPO3\CMS\Extensionmanager\ViewHelpers}
 <thead>
-<tr>
-       <th><f:translate key="extensionList.header.extensionActions"/></th>
-       <th><f:translate key="extensionList.header.extensionName"/></th>
-       <th><f:translate key="extensionList.header.version"/></th>
-       <th><f:translate key="extensionList.header.uploadComment"/></th>
-       <th><f:translate key="extensionList.header.lastUpdate"/></th>
-       <th><f:translate key="extensionList.header.extensionState"/></th>
-</tr>
+       <tr>
+               <th><f:translate key="extensionList.header.extensionActions"/></th>
+               <th><f:translate key="extensionList.header.extensionName"/></th>
+               <th><f:translate key="extensionList.header.version"/></th>
+               <th><f:translate key="extensionList.header.uploadComment"/></th>
+               <th><f:translate key="extensionList.header.lastUpdate"/></th>
+               <th><f:translate key="extensionList.header.extensionState"/></th>
+       </tr>
 </thead>
 <tbody>
-<f:for each="{paginatedExtensions}" as="extension">
-       <f:cycle values="{0: 'odd', 1: 'even'}" as="zebraClass">
-               <tr class="{zebraClass}">
-       </f:cycle>
-       <f:render partial="List/TerShowVersionsSingleLine" arguments="{extension:extension}" />
-       </tr>
-</f:for>
+       <f:for each="{extensions}" as="extension">
+               <f:cycle values="{0: 'odd', 1: 'even'}" as="zebraClass">
+                       <tr class="{zebraClass}">
+               </f:cycle>
+               <f:render partial="List/TerShowVersionsSingleLine" arguments="{extension:extension}" />
+               </tr>
+       </f:for>
 </tbody>
\ No newline at end of file
index 1376ab9..09530fb 100644 (file)
                </table>
        </f:if>
 
-       <f:be.widget.paginate objects="{extensions}" as="paginatedExtensions" configuration="{itemsPerPage: 15, maximumNumberOfLinks: 2}">
-               <table id="terVersionTable" class="typo3-extension-list">
-                       <f:render partial="List/TerShowVersionsTable" arguments="{paginatedExtensions:paginatedExtensions}" />
-               </table>
-       </f:be.widget.paginate>
+       <table id="terVersionTable" class="typo3-extension-list">
+               <f:render partial="List/TerShowVersionsTable" arguments="{extensions: extensions}" />
+       </table>
 </f:section>