[TASK] Streamline checkbox styling in TranslationStatusController 66/50366/2
authorDaniel Windloff <daniel.jc.windloff@googlemail.com>
Tue, 25 Oct 2016 12:28:46 +0000 (14:28 +0200)
committerJan Helke <typo3@helke.de>
Thu, 27 Oct 2016 08:48:41 +0000 (10:48 +0200)
In order to be consistent (e.g. list module), change the checkbox
styling in TranslationStatusController.

Resolves: #78424
Releases: master
Change-Id: Ia3fe20b08ae2b8be80b251c32548dbe03d8f1611
Reviewed-on: https://review.typo3.org/50366
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Kevin Appelt <kevin.appelt@icloud.com>
Tested-by: Kevin Appelt <kevin.appelt@icloud.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
typo3/sysext/frontend/Classes/Controller/TranslationStatusController.php

index 220e7a8..0558a7b 100644 (file)
@@ -229,7 +229,9 @@ class TranslationStatusController extends \TYPO3\CMS\Backend\Module\AbstractFunc
                             $info = '';
                         } else {
                             $status = GeneralUtility::hideIfNotTranslated($data['row']['l18n_cfg']) || GeneralUtility::hideIfDefaultLanguage($data['row']['l18n_cfg']) ? 'danger' : '';
-                            $info = '<input type="checkbox" name="newOL[' . $langRow['uid'] . '][' . $data['row']['uid'] . ']" value="1" />';
+                            $info = '<div class="btn-group"><label class="btn btn-default btn-checkbox">';
+                            $info .= '<input type="checkbox" name="newOL[' . $langRow['uid'] . '][' . $data['row']['uid'] . ']" value="1" />';
+                            $info .= '<span class="t3-icon fa"></span></label></div>';
                             $newOL_js[$langRow['uid']] .= '
                                                                +(document.webinfoForm['
                                 . GeneralUtility::quoteJSvalue('newOL[' . $langRow['uid'] . '][' . $data['row']['uid'] . ']')