@extends('layouts.admin-layout') @section('title', 'Gestion des Témoignages') @section('content')
Gérez et modérez tous les témoignages
Total
{{ $testimonials->count() }}
En attente
{{ $pending }}
Approuvés
{{ $approved }}
Rejetés
{{ $rejected }}
{{ $testimonials->count() }} témoignage(s) au total
| Auteur | Titre | Type | Église | Statut | Date | Actions |
|---|---|---|---|---|---|---|
|
{{ $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 }}
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') }}
|
|
Êtes-vous sûr de vouloir supprimer le témoignage de :
Cette action est irréversible