[TASK] Split action buttons into two groups
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Classes / ViewHelpers / RemoveExtensionViewHelper.php
index 6eded9a..ab67f37 100644 (file)
@@ -37,13 +37,13 @@ class RemoveExtensionViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Link\Action
         */
        public function render($extension) {
                if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded($extension['key'])) {
-                       return '<span class="btn disabled">' . IconUtility::getSpriteIcon('empty-empty') . '</span>';
+                       return '<span class="btn btn-default disabled">' . IconUtility::getSpriteIcon('empty-empty') . '</span>';
                }
                if (
                        !in_array($extension['type'], \TYPO3\CMS\Extensionmanager\Domain\Model\Extension::returnAllowedInstallTypes()) ||
                        $extension['type'] === 'System'
                ) {
-                       return '<span class="btn disabled">' . IconUtility::getSpriteIcon('empty-empty') . '</span>';
+                       return '<span class="btn btn-default disabled">' . IconUtility::getSpriteIcon('empty-empty') . '</span>';
                }
                $uriBuilder = $this->controllerContext->getUriBuilder();
                $action = 'removeExtension';
@@ -53,7 +53,7 @@ class RemoveExtensionViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Link\Action
                        'extension' => $extension['key']
                ), 'Action');
                $this->tag->addAttribute('href', $uri);
-               $cssClass = 'removeExtension btn';
+               $cssClass = 'removeExtension btn btn-default';
                $this->tag->addAttribute('class', $cssClass);
                $this->tag->addAttribute('title', \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('extensionList.remove', 'extensionmanager'));
                $this->tag->setContent(\TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-delete'));