noscript varianten eingebaut, matomo integration erweitert und als konfiguration aufgenommen.
This commit is contained in:
@@ -200,30 +200,6 @@ export function DashboardEventFocusCard({
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
{limitWarnings.length > 0 && (
|
||||
<div className="grid gap-3 md:grid-cols-2">
|
||||
{limitWarnings.map((warning) => (
|
||||
<Alert
|
||||
key={warning.id}
|
||||
variant={warning.tone === 'danger' ? 'destructive' : 'default'}
|
||||
className={warning.tone === 'warning' ? 'border-amber-400/50 bg-amber-50 text-amber-900 dark:border-amber-300/40 dark:bg-amber-500/10 dark:text-amber-100' : undefined}
|
||||
>
|
||||
<AlertTitle className="flex items-center gap-2 text-sm font-semibold">
|
||||
<AlertTriangle className="h-4 w-4" />
|
||||
{t(`limitWarnings.${warning.scope}`, {
|
||||
defaultValue:
|
||||
warning.scope === 'photos'
|
||||
? 'Fotos'
|
||||
: warning.scope === 'guests'
|
||||
? 'Gäste'
|
||||
: 'Galerie',
|
||||
})}
|
||||
</AlertTitle>
|
||||
<AlertDescription className="text-sm">{warning.message}</AlertDescription>
|
||||
</Alert>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user