@extends('layouts.admin') @section('title', $story->title) @section('content')
{{ $cards->count() }} rashi cards · {{ ucfirst($story->status) }}
{{ $part->cards->count() }} frames • @if ($first?->yt_status === 'posted') ✅ Upload ho gaya{{ $first->yt_video_id ? ' (' . $first->yt_video_id . ')' : '' }} @elseif ($first?->yt_status === 'failed') ❌ Fail: {{ \Illuminate\Support\Str::limit($first->yt_error, 120) }} @elseif ($isWeek) ⏳ Auto-post {{ \Illuminate\Support\Carbon::parse($story->category)->format('d M') }} (Somvar) se pehle time slot me upload karega @else ⏳ Auto-post {{ \Illuminate\Support\Carbon::parse($story->category)->format('d M') }} ko upload karega @endif
📘 Facebook {{ $isWeek ? 'video' : 'Reel' }}: @if ($first?->fb_status === 'posted') ✅ Post ho gaya @elseif ($first?->fb_status === 'failed') ❌ Fail: {{ \Illuminate\Support\Str::limit($first->fb_error, 120) }} @elseif ($first?->fb_status === 'posting') ⏳ Post ho raha hai… @else ⏳ Auto-post YouTube ke baad bhejega @endif
@if ($fbLeft->isEmpty())
✅ Saare {{ $cards->count() }} cards Facebook par post ho gaye
@elseif ($fbBusy)
⏳ Post ho raha hai…
@else
{{ $fbLeft->count() }} / {{ $cards->count() }} cards baaki •
auto-post {{ \Illuminate\Support\Carbon::parse($story->category)->format('d M') }} ko ek album me bhejega
@if ($f = $fbLeft->firstWhere('fb_status', 'failed'))
❌ Pichhli baar fail: {{ \Illuminate\Support\Str::limit($f->fb_error, 120) }}
@endif
@endif
Har card ek rashi ka bhavishya hai — auto-post inhe sirf isi din post karta hai. Auto-post inhe drip post karta hai.
@endif