[TASK] Streamline actions-document-select 53/49953/4
authorDaniel Windloff <daniel.jc.windloff@googlemail.com>
Fri, 16 Sep 2016 12:43:15 +0000 (14:43 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 7 Oct 2016 13:45:19 +0000 (15:45 +0200)
Use actions-document-select to select all values in a table.
Wrap icon (btn btn-default).

Resolves: #77973
Releases: master
Change-Id: Iddb2c232e93736d504d2269ee4efeddc7b74705d
Reviewed-on: https://review.typo3.org/49953
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/recycler/Resources/Private/Templates/RecyclerModule/Index.html
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php
typo3/sysext/workspaces/Resources/Private/Partials/WorkingTable.html

index 3875552..fccbe77 100644 (file)
@@ -35,7 +35,7 @@
                                        <th><f:translate key="table.header.uid" /></th>
                                        <th><f:translate key="table.header.pid" /></th>
                                        <th class="text-right">
-                                               <button type="button" class="btn btn-default t3js-toggle-all"><span class="t3-icon fa fa-check-square-o"></span></button>
+                                               <button type="button" class="btn btn-default t3js-toggle-all"><core:icon identifier="actions-document-select" /></button>
                                        </th>
                                </tr>
                        </thead>
@@ -51,4 +51,4 @@
                <nav>
                </nav>
        </div>
-</f:section>
\ No newline at end of file
+</f:section>
index 4bd72b6..7282d7f 100644 (file)
@@ -1006,7 +1006,7 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas
         // Header row
         $table[] =
             '<thead><tr>'
-                . '<th><a href="#" id="checkall" title="' . htmlspecialchars($this->getLanguageService()->getLL('label.checkAll')) . '" class="icon">' . $this->moduleTemplate->getIconFactory()->getIcon('actions-document-select', Icon::SIZE_SMALL)->render() . '</a></th>'
+                . '<th><a class="btn btn-default" href="#" id="checkall" title="' . htmlspecialchars($this->getLanguageService()->getLL('label.checkAll')) . '" class="icon">' . $this->moduleTemplate->getIconFactory()->getIcon('actions-document-select', Icon::SIZE_SMALL)->render() . '</a></th>'
                 . '<th>' . htmlspecialchars($this->getLanguageService()->getLL('label.id')) . '</th>'
                 . '<th>' . htmlspecialchars($this->getLanguageService()->getLL('task')) . '</th>'
                 . '<th>' . htmlspecialchars($this->getLanguageService()->getLL('label.type')) . '</th>'
index cfa216b..7d19d22 100644 (file)
@@ -1,3 +1,4 @@
+{namespace core=TYPO3\CMS\Core\ViewHelpers}
 <html
        xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
        xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
@@ -63,7 +64,7 @@
                                                        <th><f:translate key="column.integrity" /></th>
                                                        <th><core:icon identifier="flags-multiple" size="small" /></th>
                                                        <th class="text-right">
-                                                               <button type="button" class="btn btn-default t3js-toggle-all"><span class="t3-icon fa fa-check-square-o"></span></button>
+                                                               <button type="button" class="btn btn-default t3js-toggle-all"><core:icon identifier="actions-document-select" /></span></button>
                                                        </th>
                                                </tr>
                                                </thead>
@@ -93,4 +94,4 @@
                </div>
        </div>
 </div>
-</html>
\ No newline at end of file
+</html>