[TASK] Render extension icons in Language module directly 16/25516/2
authorJigal van Hemert <jigal.van.hemert@typo3.org>
Tue, 19 Nov 2013 19:52:28 +0000 (20:52 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Tue, 19 Nov 2013 20:38:47 +0000 (21:38 +0100)
Just like in the Extension Manager the icons for the extensions
can be rendered directly to increase speed. CSS takes care of scaling.

Change-Id: I1d6dc13d2b52c35be546af0ecaaae75960f2089e
Resolves: #53771
Releases: 6.2
Reviewed-on: https://review.typo3.org/25516
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/lang/Resources/Private/Partials/TranslationUpdateList.html

index 22bd1b1..f74baf8 100644 (file)
@@ -17,7 +17,7 @@
                                data-updateurl="<f:uri.action action="updateTranslation" arguments="{extension:'{extension.key}', locales:'{languageSelectionForm.selectedLanguagesLocaleList}'}" />"
                        >
                                <td class="icon">
-                                       <f:if condition="{extension.icon}"><f:image src="{extension.icon}" alt="{extension.key}" /></f:if>
+                                       <f:if condition="{extension.icon}"><img class="ext-icon" src="{extension.icon}" alt="{extension.key}" /></f:if>
                                </td>
                                <td class="extension">{extension.key}</td>
                                <f:for each="{languageSelectionForm.selectedLanguages}" as="selectedLanguage">