Commentaires LinkedIn

Les commentaires reçus sur vos posts arrivent ici. Aya propose une réponse, vous la relisez, le CRM la publie sous le commentaire. Rien n'est publié sans validation.

@if(! $account || $account->isExpired())
Profil LinkedIn non connecté : les réponses ne pourront pas être publiées depuis le CRM. Connecter LinkedIn
@endif {{-- Ajout manuel : LinkedIn n'envoie pas d'email pour chaque commentaire --}}
@if(! $adding) @else

LinkedIn ne prévient pas de chaque commentaire. Sur LinkedIn, ouvrez le menu « … » du commentaire, choisissez « Copier le lien », puis collez-le ici avec le texte du commentaire.

@error('newLink')

{{ $message }}

@enderror @error('newText')

{{ $message }}

@enderror
@endif
{{-- Onglets --}}
@foreach(['todo' => 'À traiter', 'replied' => 'Répondus', 'ignored' => 'Ignorés'] as $key => $label) @endforeach
@forelse($comments as $comment)
{{ $comment->author_name ?? 'Un membre de LinkedIn' }} @if($comment->commented_at){{ $comment->commented_at->format('d/m/Y à H:i') }}@endif @if($comment->isInThread()) Réponse dans un fil @elseif($comment->notification_type === \App\Models\LinkedInComment::TYPE_MENTION) Vous mentionne @endif @if($comment->intent === \App\Models\LinkedInComment::INTENT_NEED) Besoin exprimé : prospect potentiel @elseif($comment->intent === 'question') Question @elseif($comment->intent === 'disagreement') Désaccord @elseif($comment->intent === 'spam') Probable spam @endif Ouvrir sur LinkedIn

{{ $comment->post || $comment->notification_type === \App\Models\LinkedInComment::TYPE_COMMENT ? 'Sur votre post' : 'Sur le post' }}{{ $comment->post?->theme ? ' « '.$comment->post->theme.' »' : '' }} : {{ \Illuminate\Support\Str::limit($comment->post_excerpt, 140) }}

{{ $comment->comment_text }}
@if($comment->error)

{{ $comment->error }}

@endif @if($comment->status === 'drafting')

Aya rédige une réponse…

@elseif(in_array($comment->status, ['draft', 'failed'], true))
@error('replies.'.$comment->id)

{{ $message }}

@enderror
@if($account && ! $account->isExpired()) @endif
@elseif($comment->status === 'publishing')

Publication de la réponse…

@elseif($comment->status === 'replied') @if($comment->reply_text)
{{ $comment->reply_text }}
@endif

Répondu{{ $comment->replied_at ? ' le '.$comment->replied_at->format('d/m/Y à H:i') : '' }}

@elseif($comment->status === 'ignored') @endif
@empty
@if($tab === 'todo') Aucun commentaire à traiter. Ils apparaissent ici dès que LinkedIn envoie la notification email. @else Aucun commentaire dans cette catégorie. @endif
@endforelse