@extends('layouts.admin-layout') @section('title', 'Gestion des Témoignages') @section('content')

Gestion des Témoignages

Gérez et modérez tous les témoignages

Ajouter un Témoignage
@if(session('success'))
{{ session('success') }}
@endif

Total

{{ $testimonials->count() }}

En attente

{{ $pending }}

Approuvés

{{ $approved }}

Rejetés

{{ $rejected }}

Filtres de recherche

{{ $testimonials->count() }} résultat(s) trouvé(s)
Effacer

Liste des témoignages

{{ $testimonials->count() }} témoignage(s) au total

@forelse($testimonials as $testimonial) @empty @endforelse
Auteur Titre Type Église Statut Date Actions
@if($testimonial->testimonial_type === 'social') @else @endif
{{ $testimonial->author_name }}
{{ $testimonial->title ?? 'Sans titre' }}
@if($testimonial->testimonial_type === 'social')
Vidéo @if($testimonial->social_platform) @if($testimonial->social_platform === 'youtube') @elseif($testimonial->social_platform === 'instagram') @elseif($testimonial->social_platform === 'facebook') @elseif($testimonial->social_platform === 'tiktok') @endif {{ ucfirst($testimonial->social_platform) }} @endif
@else Texte @endif
@if($testimonial->church)
{{ $testimonial->church->name }}
{{ $testimonial->church->city }}
@else
Non défini
@endif
@if($testimonial->status === 'approved') Approuvé @elseif($testimonial->status === 'pending') En attente @else Rejeté @endif
{{ $testimonial->created_at->format('d/m/Y') }}
{{ $testimonial->created_at->format('H:i') }}
@if($testimonial->testimonial_type === 'social' && $testimonial->video_url) @endif

Aucun témoignage trouvé

Commencez par ajouter votre premier témoignage

Ajouter un témoignage
@endsection