[TASK] Adopt order of cols in ext:documentation 12/26712/3
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 9 Jan 2014 05:27:16 +0000 (06:27 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 9 Jan 2014 05:31:16 +0000 (06:31 +0100)
Each of the actions 'show' and 'download' got a different sorting of the
columns. Change the order of the download action so that the action links
are placed at the end.

Change-Id: Ifa8aa7ed2eb9bee1ebbc086607ce1261fe1a3c95
Resolves: #54840
Releases: 6.2
Reviewed-on: https://review.typo3.org/26712
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/documentation/Resources/Private/Templates/Document/Download.html

index 66a8e61..7434e14 100644 (file)
        <table id="typo3-documentation-download" class="typo3-documentation-list">
                <thead>
                <tr>
-                       <th><f:translate key="documentation.actions" /></th>
                        <th><f:translate key="documentation.title" /></th>
                        <th><f:translate key="documentation.shortcut" /></th>
                        <th><f:translate key="documentation.type" /></th>
+                       <th><f:translate key="documentation.actions" /></th>
                </tr>
                </thead>
                <tbody>
                <f:for each="{documents}" as="document">
                        <tr id="{document.key}" >
-                               <td class="icons">
-                                       <doc:link.action action="download" arguments="{url:document.url, key:document.key, version:document.version}" title="{f:translate(key:'documentation.actions.download')}">
-                                               <span class="t3-icon t3-icon-actions t3-icon-system-extension-download">&nbsp;</span>
-                                       </doc:link.action>
-                               </td>
                                <td class="title">
                                        <img src="../{document.icon}" title="{document.title}" alt="{document.title}" />
                                        {document.title}
                                </td>
                                <td>{document.shortcut}</td>
                                <td>{document.type}</td>
+                               <td class="icons">
+                                       <doc:link.action action="download" arguments="{url:document.url, key:document.key, version:document.version}" title="{f:translate(key:'documentation.actions.download')}">
+                                               <span class="t3-icon t3-icon-actions t3-icon-system-extension-download">&nbsp;</span>
+                                       </doc:link.action>
+                               </td>
                        </tr>
                </f:for>
                </tbody>