[BUGFIX] Use correct path for test images in install tool 73/54373/3
authorMarkus Klein <markus.klein@typo3.org>
Thu, 12 Oct 2017 08:32:34 +0000 (10:32 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 12 Oct 2017 08:42:52 +0000 (10:42 +0200)
This resolves a regression to #81951, where the path adjustment
has been forgotten.

Resolves: #82743
Releases: 8.7
Change-Id: Ibd0260b0450e2b8d0078a004acf4ee835d6a34cc
Reviewed-on: https://review.typo3.org/54373
Reviewed-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Tested-by: Johannes Kasberger <johannes.kasberger@reelworx.at>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
typo3/sysext/install/Resources/Private/Partials/Action/Tool/TestSetup/DisplayTwinImage.html

index 3e6b758..d5a0883 100644 (file)
@@ -16,7 +16,7 @@
                                <div class="col-xs-12 col-md-6">
                                        <h4>Reference</h4>
                                        <div class="bg-transparent-emulation">
-                                               <img src="../../../../{test.referenceFile -> i:file.relativePath()}?{time}" />
+                                               <img src="../{test.referenceFile -> i:file.relativePath()}?{time}" />
                                        </div>
                                </div>
                                <div class="col-xs-12 col-md-6">
@@ -26,7 +26,7 @@
                                                        <f:if condition="{i:file.exists(file:test.outputFile)}">
                                                                <f:then>
                                                                        <div class="bg-transparent-emulation">
-                                                                               <img src="../../../../{test.outputFile -> i:file.relativePath()}?{time}" />
+                                                                               <img src="../{test.outputFile -> i:file.relativePath()}?{time}" />
                                                                        </div>
                                                                </f:then>
                                                                <f:else>