[BUGFIX] Avoid empty labels in EM configuration
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Resources / Private / Templates / Configuration / ShowConfigurationForm.html
index 29e2a4c..35f2a62 100644 (file)
@@ -43,7 +43,9 @@
                                                                        <f:for each="{subcategory.items}" as="item">
                                                                                <div class="group">
                                                                                        <h4>{item.labelHeadline} <span class="info">[{category.name}.{item.name}]</span></h4>
                                                                        <f:for each="{subcategory.items}" as="item">
                                                                                <div class="group">
                                                                                        <h4>{item.labelHeadline} <span class="info">[{category.name}.{item.name}]</span></h4>
-                                                                                       <label for="{item.name}">{item.labelText}</label>
+                                                                                       <f:if condition="{item.labelText}">
+                                                                                               <label for="{item.name}">{item.labelText}</label>
+                                                                                       </f:if>
                                                                                        <f:if condition="{item.highlight}">
                                                                                                <span style="background:red; padding:1px 2px; color:#fff; font-weight:bold;">{item.highlight}</span>
                                                                                        </f:if>
                                                                                        <f:if condition="{item.highlight}">
                                                                                                <span style="background:red; padding:1px 2px; color:#fff; font-weight:bold;">{item.highlight}</span>
                                                                                        </f:if>