[BUGFIX] Wrong HTML in ModuleMenu main modules 77/39477/2
authorBenjamin Mack <benni@typo3.org>
Tue, 12 May 2015 07:07:10 +0000 (15:07 +0800)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 12 May 2015 07:24:50 +0000 (09:24 +0200)
There is one span too many in the module menu after the switch to sprite icons.

The change removes one span tag, but leaves it for the default span tag.

Resolves: #66908
Releases: master
Change-Id: I84f621c5fae4c6739acd1e0254da2702e58ee8b7
Reviewed-on: http://review.typo3.org/39477
Reviewed-by: Daniel Sattler <sattler@b13.de>
Tested-by: Daniel Sattler <sattler@b13.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
typo3/sysext/backend/Resources/Private/Templates/ModuleMenu/Main.html

index 0cad190..4ac7d05 100644 (file)
@@ -4,16 +4,14 @@
                        <div class="typo3-module-menu-group-header">
                                <span class="typo3-app-icon typo3-module-menu-group-icon">
                                        <span>
-                                               <span>
-                                                       <f:if condition="{mainModule.icon}">
-                                                               <f:then>
-                                                                       <f:format.raw>{mainModule.icon}</f:format.raw>
-                                                               </f:then>
-                                                               <f:else>
-                                                                       <i class="fa fa-bars"></i>
-                                                               </f:else>
-                                                       </f:if>
-                                               </span>
+                                               <f:if condition="{mainModule.icon}">
+                                                       <f:then>
+                                                               <f:format.raw>{mainModule.icon}</f:format.raw>
+                                                       </f:then>
+                                                       <f:else>
+                                                               <span><i class="fa fa-bars"></i></span>
+                                                       </f:else>
+                                               </f:if>
                                        </span>
                                </span>
                                <span class="typo3-module-menu-group-title">