Remove Schnellzugriff and Administration panels from dashboard

Those links already live in the sidebar nav, so repeating them on the
dashboard was redundant.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Maaxxs 2026-09-19 06:45:42 +02:00
parent ae24579372
commit 89a0fd75db

View file

@ -151,52 +151,4 @@ include __DIR__ . '/includes/header.php';
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="panel">
<h2>Schnellzugriff</h2>
<div class="card-grid">
<div class="panel stat-card">
<div class="icon-badge"><?= icon('profile') ?></div>
<div>
<h3>Mein Profil</h3>
<p class="text-muted"><a href="/profile.php">Anzeigename, Passwort &amp; Discord verwalten</a></p>
</div>
</div>
<?php if ($canViewRaids): ?>
<div class="panel stat-card">
<div class="icon-badge"><?= icon('calendar') ?></div>
<div>
<h3>Raids</h3>
<p class="text-muted"><a href="/raids.php">Anstehende Raid-Termine ansehen</a></p>
</div>
</div>
<?php endif; ?>
</div>
</div>
<?php if ($canViewUsers || $canManageRoles): ?>
<div class="panel">
<h2>Administration</h2>
<div class="card-grid">
<?php if ($canViewUsers): ?>
<div class="panel stat-card">
<div class="icon-badge"><?= icon('users') ?></div>
<div>
<h3>Benutzerverwaltung</h3>
<p class="text-muted"><a href="/admin/users.php">Mitglieder anlegen, bearbeiten, deaktivieren</a></p>
</div>
</div>
<?php endif; ?>
<?php if ($canManageRoles): ?>
<div class="panel stat-card">
<div class="icon-badge"><?= icon('shield') ?></div>
<div>
<h3>Berechtigungsgruppen</h3>
<p class="text-muted"><a href="/admin/roles.php">Rollen und Berechtigungen verwalten</a></p>
</div>
</div>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<?php include __DIR__ . '/includes/footer.php'; ?> <?php include __DIR__ . '/includes/footer.php'; ?>