[BUGFIX] Show file title in CE uploads 31/50931/3
authorFrans Saris <franssaris@gmail.com>
Mon, 12 Dec 2016 10:47:04 +0000 (11:47 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Sat, 7 Jan 2017 10:50:25 +0000 (11:50 +0100)
Resolves: #78900
Releases: master, 7.6
Change-Id: Ia44c039083d44eda463ee1819f6dc20353ce7f8a
Reviewed-on: https://review.typo3.org/50931
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/fluid_styled_content/Resources/Private/Templates/Uploads.html

index 75cd846..783bb7f 100644 (file)
@@ -25,9 +25,9 @@
                                        <div>
                                                <a href="{file.publicUrl}"{f:if(condition:data.target,then:' target="{data.target}"')}>
                                                        <span class="ce-uploads-fileName">
-                                                               <f:if condition="{file.title}">
+                                                               <f:if condition="{file.properties.title}">
                                                                        <f:then>
-                                                                               {file.title}
+                                                                               {file.properties.title}
                                                                        </f:then>
                                                                        <f:else>
                                                                                {file.name}