Finalize init defaults and auth flow UX improvements

This commit is contained in:
2026-03-11 21:11:19 +01:00
parent f27de98bed
commit 60b890d367
14 changed files with 179 additions and 34 deletions

View File

@@ -267,7 +267,7 @@ $csrfToken = (string) ($layoutNav['csrfToken'] ?? '');
title="<?php e($tenantName); ?>">
<?php else: ?>
<div class="app-sidebar-tenant-name">
<i class="bi bi-buildings"></i> <?php e($tenantName); ?>
<?php e($tenantName); ?>
</div>
<?php endif; ?>
</a>

View File

@@ -4,7 +4,14 @@ $authLogoUrl = appLogoUrl();
if ($authLogoUrl === '') {
return;
}
$authLogoHref = isset($authLogoHref) && is_string($authLogoHref) ? trim($authLogoHref) : '';
?>
<div class="login-logo">
<img src="<?php e($authLogoUrl); ?>" alt="<?php e(appTitle()); ?>" class="login-logo-img">
<?php if ($authLogoHref !== ''): ?>
<a href="<?php e($authLogoHref); ?>" class="login-logo-link">
<img src="<?php e($authLogoUrl); ?>" alt="<?php e(appTitle()); ?>" class="login-logo-img">
</a>
<?php else: ?>
<img src="<?php e($authLogoUrl); ?>" alt="<?php e(appTitle()); ?>" class="login-logo-img">
<?php endif; ?>
</div>