Show the profile picture on the dashboard welcome panel
Reuses the same avatar+heading layout as Mein Profil (.profile-header) so the greeting matches the picture, badges and all. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
22a61d28be
commit
00fb78b71d
1 changed files with 16 additions and 11 deletions
|
|
@ -47,6 +47,9 @@ $pageTitle = 'Dashboard';
|
||||||
include __DIR__ . '/includes/header.php';
|
include __DIR__ . '/includes/header.php';
|
||||||
?>
|
?>
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
|
<div class="profile-header">
|
||||||
|
<?= avatar_html($user, 72) ?>
|
||||||
|
<div>
|
||||||
<h1>Willkommen, <?= e($user['display_name'] !== '' ? $user['display_name'] : $user['username']) ?>!</h1>
|
<h1>Willkommen, <?= e($user['display_name'] !== '' ? $user['display_name'] : $user['username']) ?>!</h1>
|
||||||
<p class="text-muted">Hier ist dein Überblick über die Gilde.</p>
|
<p class="text-muted">Hier ist dein Überblick über die Gilde.</p>
|
||||||
<div class="badge-group">
|
<div class="badge-group">
|
||||||
|
|
@ -59,6 +62,8 @@ include __DIR__ . '/includes/header.php';
|
||||||
<span class="badge badge-disabled">Discord nicht verbunden</span>
|
<span class="badge badge-disabled">Discord nicht verbunden</span>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue