]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix background id selector for the first run wizard 639/head
authorBjoern Schiessle <bjoern@schiessle.org>
Thu, 28 Jul 2016 14:32:39 +0000 (16:32 +0200)
committerBjoern Schiessle <bjoern@schiessle.org>
Thu, 28 Jul 2016 15:44:23 +0000 (17:44 +0200)
apps/theming/lib/controller/themingcontroller.php
apps/theming/tests/lib/controller/ThemingControllerTest.php

index 8c03060f884af043abdbb341bdb3c8437d6de349..61bc0b86bf47b15405967401d00a7d804b746b60 100644 (file)
@@ -261,7 +261,7 @@ class ThemingController extends Controller {
                $backgroundLogo = $this->config->getAppValue($this->appName, 'backgroundMime');
                if($backgroundLogo !== '') {
                        $responseCss .= '#body-login {background-image: url(\'./loginbackground?v='.$cacheBusterValue.'\');}' . "\n";
-                       $responseCss .= 'firstrunwizard .firstrunwizard-header {' .
+                       $responseCss .= '#firstrunwizard .firstrunwizard-header {' .
                                'background-image: url(\'./loginbackground?v='.$cacheBusterValue.'\');' .
                        '}' . "\n";
                }
index 253c263916f9635116dd4af91bfdfabc3a18c0d4..0cbf125d8fd685c4356decc4fc18dfb027fd6a7e 100644 (file)
@@ -486,7 +486,7 @@ class ThemingControllerTest extends TestCase {
                        ->willReturn('text/svg');
 
                $expectedData = '#body-login {background-image: url(\'./loginbackground?v=0\');}' . "\n";
-               $expectedData .= 'firstrunwizard .firstrunwizard-header {' .
+               $expectedData .= '#firstrunwizard .firstrunwizard-header {' .
                        'background-image: url(\'./loginbackground?v=0\');' .
                        '}' . "\n";
 
@@ -559,7 +559,7 @@ class ThemingControllerTest extends TestCase {
                        '}' . "\n"
                );
                $expectedData .= '#body-login {background-image: url(\'./loginbackground?v=0\');}' . "\n";
-               $expectedData .= 'firstrunwizard .firstrunwizard-header {' .
+               $expectedData .= '#firstrunwizard .firstrunwizard-header {' .
                        'background-image: url(\'./loginbackground?v=0\');' .
                        '}' . "\n";
                $expected = new Http\DataDownloadResponse($expectedData, 'style', 'text/css');
@@ -631,7 +631,7 @@ class ThemingControllerTest extends TestCase {
                        '}' . "\n"
                );
                $expectedData .= '#body-login {background-image: url(\'./loginbackground?v=0\');}' . "\n";
-               $expectedData .= 'firstrunwizard .firstrunwizard-header {' .
+               $expectedData .= '#firstrunwizard .firstrunwizard-header {' .
                        'background-image: url(\'./loginbackground?v=0\');' .
                        '}' . "\n";
                $expectedData .= '#header .header-appname, #expandDisplayName { color: #000000; }' . "\n";