Fix: Blade-Syntaxfehler in SSL-Seite (@if/@elseif/@endif inline)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main v1.1.288
boban 2026-04-26 10:22:44 +02:00
parent 38d6fdba6f
commit 1b79454df5
1 changed files with 5 additions and 3 deletions

View File

@ -176,9 +176,11 @@
@else
<svg width="11" height="11" viewBox="0 0 12 12" fill="none" style="flex-shrink:0;color:var(--mw-t4)"><circle cx="6" cy="6" r="4.5" stroke="currentColor" stroke-width="1.1" stroke-dasharray="3 3"/></svg>
@endif
<span style="font-size:10.5px;color:{{ in_array($st,['error','nodns']) ? '#f87171' : ($st==='done' ? '#22c55e' : 'var(--mw-t4)') }}">
{{ $label }}@if($st==='nodns') kein DNS@elseif($st==='error') Fehler@endif
</span>
@php
$stSuffix = $st==='nodns' ? ' kein DNS' : ($st==='error' ? ' Fehler' : '');
$stColor = in_array($st,['error','nodns']) ? '#f87171' : ($st==='done' ? '#22c55e' : 'var(--mw-t4)');
@endphp
<span style="font-size:10.5px;color:{{ $stColor }}">{{ $label }}{{ $stSuffix }}</span>
</div>
@endforeach
</div>