Commit cca03ef1 authored by Daniel Windloff's avatar Daniel Windloff Committed by Frank Nägler
Browse files

[TASK] Streamline actions-document-select

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: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke's avatarJan Helke <typo3@helke.de>
Tested-by: Jan Helke's avatarJan Helke <typo3@helke.de>
Reviewed-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
parent 613c2935
......@@ -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>
......@@ -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>'
......
{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>
Supports Markdown
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