[BUGFIX] Missing file extension class with "file links" type 43/21343/2
authorStefan Galinski <stefan.galinski@gmail.com>
Mon, 10 Jun 2013 14:50:40 +0000 (16:50 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 11 Jun 2013 17:18:11 +0000 (19:18 +0200)
The content element type "file links" can't render
the the css class for the file extension, because
it uses a non-existing reference from pre-FAL
times. You can find the specific css class on the
generated list item.

Fixes: #48996
Releases: 6.2, 6.1, 6.0
Change-Id: I3031770a6741a331647f3bd5699ea1a2c0d444a9
Reviewed-on: https://review.typo3.org/21343
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/css_styled_content/static/setup.txt

index 07b2c9f..c24fc73 100644 (file)
@@ -1298,7 +1298,7 @@ tt_content.uploads {
                                10 = LOAD_REGISTER
                                10 {
                                        oddEvenClass = li-odd li-first |*| li-even || li-odd
-                                       elementClass = csc-uploads-element csc-uploads-element-{register:fileExtension}
+                                       elementClass = csc-uploads-element csc-uploads-element-{file:current:extension}
                                        elementClass.insertData = 1
                                }