[FOLLOWUP][BUGFIX] Broken documentation icon in extension manager 08/34808/2
authorXavier Perseguers <xavier@typo3.org>
Sun, 30 Nov 2014 09:06:01 +0000 (10:06 +0100)
committerXavier Perseguers <xavier@typo3.org>
Sun, 30 Nov 2014 09:08:40 +0000 (10:08 +0100)
When using EXT:sphinx the documentation icon is broken since the
"btn" class attribute is not set.

Resolves: #63430
Releases: master
Change-Id: If86bd2490bb16757b3b50aa236442881c6947fef
Reviewed-on: http://review.typo3.org/34808
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
typo3/sysext/documentation/Classes/ViewHelpers/FormatsViewHelper.php

index 227d9af..9f8a0ca 100644 (file)
@@ -53,7 +53,7 @@ class FormatsViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHel
                                if ($extension === 'json') {
                                        $extension = 'js';
                                }
-                               $output .= 'href="#" onclick="top.TYPO3.Backend.ContentContainer.setUrl(\'' . $uri . '\')"';
+                               $output .= 'href="#" onclick="top.TYPO3.Backend.ContentContainer.setUrl(\'' . $uri . '\')" class="btn"';
                        }
 
                        $xliff = 'LLL:EXT:documentation/Resources/Private/Language/locallang.xlf';