diff options
author | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2022-11-10 09:10:48 +0100 |
---|---|---|
committer | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2022-12-08 09:28:25 +0100 |
commit | bba5ab0532bcf71dc421fd15efd890cd25bdc8d3 (patch) | |
tree | bac1b175cf30efee2a4fc06c2d6056a13adb068b /lib/private/TemplateLayout.php | |
parent | fabcd68a5e2c4909dc58d35e756acb0675e61311 (diff) | |
download | nextcloud-server-bba5ab0532bcf71dc421fd15efd890cd25bdc8d3.tar.gz nextcloud-server-bba5ab0532bcf71dc421fd15efd890cd25bdc8d3.zip |
Add alt to the logo, adapt css for logo
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r-- | lib/private/TemplateLayout.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index e043f79745a..3e2e004cb97 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -114,10 +114,6 @@ class TemplateLayout extends \OC_Template { $this->assign('enabledThemes', $themesService->getEnabledThemes()); } - // set logo link target - $logoUrl = $this->config->getSystemValueString('logo_url', ''); - $this->assign('logoUrl', $logoUrl); - // Add navigation entry $this->assign('application', ''); $this->assign('appid', $appId); @@ -188,6 +184,11 @@ class TemplateLayout extends \OC_Template { } else { parent::__construct('core', 'layout.base'); } + + // set logo link target + $logoUrl = $this->config->getSystemValueString('logo_url', ''); + $this->assign('logoUrl', $logoUrl); + // Send the language and the locale to our layouts $lang = \OC::$server->getL10NFactory()->findLanguage(); $locale = \OC::$server->getL10NFactory()->findLocale($lang); |