{{-- Content-Score-Panel (Qualitäts-Feedback): Score 0–100 + Stufe samt Abstand zur nächsten Schwelle. Gemeinsam genutzt von PM-Editor und PM-Detailseite (13.07.); `note` trägt den kontextspezifischen Fußtext. --}} @props(['score', 'tier' => null, 'note' => null]) @php $tierEnum = $tier instanceof \App\Enums\PressReleaseContentTier ? $tier : ($tier ? \App\Enums\PressReleaseContentTier::from($tier) : null); $tiers = config('scoring.content_score.tiers'); $nextThreshold = $score < (int) $tiers['gepruft'] ? (int) $tiers['gepruft'] : ($score < (int) $tiers['hochwertig'] ? (int) $tiers['hochwertig'] : null); @endphp
{{ __('Qualität') }} @if ($tierEnum) {{ $tierEnum->label() }} @endif
{{ $score }}/100
@if ($nextThreshold)

{{ __('Noch :points Punkte bis zur nächsten Stufe.', ['points' => $nextThreshold - $score]) }}

@else

{{ __('Höchste Stufe erreicht.') }}

@endif @if ($note)

{{ $note }}

@endif