summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.user.php
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2022-11-10 09:10:48 +0100
committerjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2022-12-08 09:28:25 +0100
commitbba5ab0532bcf71dc421fd15efd890cd25bdc8d3 (patch)
treebac1b175cf30efee2a4fc06c2d6056a13adb068b /core/templates/layout.user.php
parentfabcd68a5e2c4909dc58d35e756acb0675e61311 (diff)
downloadnextcloud-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 'core/templates/layout.user.php')
-rw-r--r--core/templates/layout.user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 10d8c9bad97..ce8988af9b6 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -60,7 +60,7 @@ $getUserAvatar = static function (int $size) use ($_): string {
<div class="header-left">
<a href="<?php print_unescaped($_['logoUrl'] ?: link_to('', 'index.php')); ?>"
id="nextcloud">
- <div class="logo logo-icon"></div>
+ <img class="logo logo-icon" alt="<?php p($l->t('%s logo', [$theme->getName()])); ?>" src="<?= ($_['logoUrl'] ?? '') !== '' ? $_['logoUrl'] : $theme->getLogo(); ?>">
</a>
<nav id="header-left__appmenu"></nav>