[BUGFIX] Do not escape system information label with HTML
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / Templates / ToolbarMenu / SystemInformation.html
index c3ef80d..1273283 100644 (file)
@@ -1,7 +1,7 @@
-<ul class="dropdown-list">
+<ul class="dropdown-list" data-count="{count}" data-severityclass="{severityBadgeClass}">
        <li class="dropdown-header"><f:translate key="systemmessage.header" /></li>
-       <li id="systeminformation_installtool" class="dropdown-intro typo3-module-menu-item submodule mod-system_InstallInstall" data-modulename="system_InstallInstall">
-               <f:translate key="systemmessage.intro" arguments="{0: '{installToolUrl}'}" />
+       <li id="systeminformation_installtool" class="dropdown-intro typo3-module-menu-item submodule mod-system_extinstall" data-modulename="system_extinstall">
+               <f:format.raw><f:translate key="systemmessage.intro" arguments="{0: '{installToolUrl}'}" /></f:format.raw>
        </li>
        <li>
                <dl class="dl-horizontal">
        <f:if condition="{messages -> f:count()} > 0">
                <f:then>
                        <f:for each="{messages}" as="message">
-                               <li><span class="text-{message.status}">{message.text}</span></li>
+                               <f:if condition="{message.module}">
+                                       <f:then>
+                                               <li id="systeminformation_{message.module}" class="t3js-systeminformation-module dropdown-intro typo3-module-menu-item submodule mod-{message.module}" data-modulename="{message.module}">
+                                                       <span class="text-{message.status}"><f:format.raw>{message.text}</f:format.raw></span>
+                                               </li>
+                                       </f:then>
+                                       <f:else>
+                                               <li>
+                                                       <span class="text-{message.status}"><f:format.raw>{message.text}</f:format.raw></span>
+                                               </li>
+                                       </f:else>
+                               </f:if>
                        </f:for>
                </f:then>
                <f:else>
                        <li><span class="text-success"><f:format.nl2br><f:translate key="systemmessage.allgood" /></f:format.nl2br></span></li>
                </f:else>
        </f:if>
-</ul>
\ No newline at end of file
+</ul>