@php $linkDescriptions = []; if ($this->campaign->emailList?->websiteEnabled()) { $linkDescriptions[] = 'the public website'; } if ($this->campaign->emailList?->campaigns_feed_enabled) { $linkDescriptions[] = 'the RSS feed'; } $linkDescriptions = collect($linkDescriptions)->join(', ', ' and '); @endphp
@csrf @if (!$readOnly) @include('mailcoach::app.campaigns.partials.emailListFields', ['segmentable' => $campaign, 'wiremodel' => 'form']) @else
@if($campaign->emailList) Sent to list {{ $campaign->emailList->name }} @else Sent to list {{ __mc('deleted list') }} @endif @if($campaign->tagSegment) , used segment {{ $campaign->tagSegment->name }} @endif
@endif @if (!$readOnly && $campaign->emailList) {!! __mc('Leave empty to use your email list defaults', ['url' => route('mailcoach.emailLists.general-settings', $campaign->emailList)]) !!} @endif
@php([$openTracking, $clickTracking] = $campaign->tracking()) @if (!is_null($openTracking) || !is_null($clickTracking)) @php($mailerModel = $campaign->getMailer()) {!! __mc('Open & Click tracking are managed by your email provider, this campaign uses the :mailer mailer. Manage settings.', ['mailer' => $mailerModel->name, 'mailerLink' => route('mailers.edit', $mailerModel)]) !!}
@elseif($campaign->emailList?->campaign_mailer) @if (Auth::user()->can('update', $campaign->emailList)) {!! __mc('Open & Click tracking are managed by your email provider, this campaign uses the :mailer mailer.', ['mailer' => $campaign->emailList->campaign_mailer]) !!} Manage settings. @endif @else {!! __mc('Your email list does not have a mailer set up yet.') !!} @endif
@if ($form->add_subscriber_tags || $form->add_subscriber_link_tags)
@if ($form->add_subscriber_tags)

{{ __mc('The following tags will automatically get added to subscribers that open or click the campaign:') }}

@endif @if ($form->add_subscriber_link_tags)

{{ __mc('Subscribers will receive a unique tag per link clicked.') }}

@endif
@endif
@if ($form->utm_tags)
{{ __mc('UTM Tags will automatically get added to all links in your campaign') }}
@endif
@if($this->campaign->emailList?->has_website || $this->campaign->emailList?->campaigns_feed_enabled)
{!! __mc('When this campaign has been sent, we can display the content on :link for this email list', ['link' => $linkDescriptions]) !!}
@endif {!! __mc('Webview allows users to view the content of the email in a browser.') !!}
@if (! $readOnly) @if ($form->dirty) {{ __mc('You have unsaved changes') }} @else
{{ __mc('You have unsaved changes') }}
@endif
@endif