@auth @if($hasAccepted && !$needsReaccept) {{-- User has accepted and version is current --}}

{{ __('Principles Accepted') }}

{{ __('You accepted these principles on') }} {{ \Carbon\Carbon::parse($acceptedData['accepted_at'])->isoFormat('LL') }}

{{ __('Language') }}: {{ strtoupper($acceptedData['locale']) }} | {{ __('Version updated') }}: {{ \Carbon\Carbon::parse($acceptedData['updated_at'])->isoFormat('LL') }}

@elseif($hasAccepted && $needsReaccept) {{-- User has accepted but needs to re-accept newer version --}}

{{ __('Updated Principles') }}

{{ __('Our principles have been updated since you last accepted them. Please review the changes and accept the new version.') }}

{{ __('You previously accepted on') }}: {{ \Carbon\Carbon::parse($acceptedData['accepted_at'])->isoFormat('LL') }}

{{ __('Accept Updated Principles') }}

{{ __('Accept Updated Principles') }} {{ __('Saving...') }}
@else {{-- User needs to accept --}}

{{ __('Accept Principles') }}

{{ __('Accept Principles') }} {{ __('Saving...') }}
@endif @endauth @guest {{-- Not logged in - no action needed --}} @endguest