Skip to content
Snippets Groups Projects
Commit 0817b845 authored by Felix Kopp's avatar Felix Kopp Committed by Benjamin Mack
Browse files

[TASK] EM: remove nested pagination in showAllVersions

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
parent 2f506263
No related merge requests found
{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
......@@ -58,11 +58,9 @@
</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>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment