@php $onlyTemplatePreview = request()->has('only-preview'); @endphp
@if(!$onlyTemplatePreview)

{{ __tr('Template Details') }}

{{ __tr('Template Name') }}: {{ $template->template_name }}
{{ __tr('Language Code') }}: {{ $template->language }}
{{ __tr('Category') }}: {{ $template->category }}
{{--
--}}
1
2
{{--
--}}
@if($headerFormat)

{{ __tr('Header') }}

@if($headerFormat == 'LOCATION')

{{ __tr('Location Details') }}

@include('whatsapp-service.template-partial', [ 'parameters' => [ 'location_latitude', 'location_longitude', 'location_name', 'location_address', ], 'subjectType' => 'header', ]) @elseif($headerFormat == 'TEXT' and !__isEmpty($headerParameters)) @include('whatsapp-service.template-partial', [ 'parameters' => $headerParameters, 'subjectType' => 'header', ]) @elseif($headerFormat == 'TEXT' and __isEmpty($headerParameters))
{{ __tr('No variables available for header text.') }}
@elseif($headerFormat == 'IMAGE')