diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-17 14:19:23 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-17 14:19:23 +0100 |
commit | 9af7ee8d11b43a7a3d14f7aa8390aff0a4174f55 (patch) | |
tree | 21e1bd9e4b5acc3010c3ecb6d1b6eb3081b9fdae /core/templates/layout.public.php | |
parent | 7ab34eefc599cc7fd104f91213c28aeedee383db (diff) | |
download | nextcloud-server-9af7ee8d11b43a7a3d14f7aa8390aff0a4174f55.tar.gz nextcloud-server-9af7ee8d11b43a7a3d14f7aa8390aff0a4174f55.zip |
Revert "Add alt to the logo, adapt css for logo"
This reverts commit bba5ab0532bcf71dc421fd15efd890cd25bdc8d3.
Diffstat (limited to 'core/templates/layout.public.php')
-rw-r--r-- | core/templates/layout.public.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php index 1533419e92d..65110fb84f5 100644 --- a/core/templates/layout.public.php +++ b/core/templates/layout.public.php @@ -37,8 +37,15 @@ </div> <header id="header"> - <div class="header-left" id="nextcloud"> - <img class="logo logo-icon svg" alt="<?php p($l->t('%s logo', [$theme->getName()])); ?>" src="<?= ($_['logoUrl'] ?? '') !== '' ? $_['logoUrl'] : $theme->getLogo(); ?>"> + <div class="header-left"> + <div class="logo logo-icon svg"></div> + <span id="nextcloud" class="header-appname"> + <?php if (isset($template) && $template->getHeaderTitle() !== '') { ?> + <?php p($template->getHeaderTitle()); ?> + <?php } else { ?> + <?php p($theme->getName()); ?> + <?php } ?> + </span> <?php if (isset($template) && $template->getHeaderDetails() !== '') { ?> <div class="header-shared-by"> <?php p($template->getHeaderDetails()); ?> |