{{-- resources/views/instagram/auto-replies/index.blade.php --}} الردود التلقائية - إنستقرام

{{ __('الردود التلقائية - إنستقرام') }}

{{ __('إدارة الردود التلقائية على تعليقات إنستقرام') }}

@if(isset($planLimits) && $planLimits['feature_available']) @if($planLimits['can_create_more']) {{ __('إضافة جديد') }} @else {{ __('ترقية للمزيد') }} @endif @else {{ __('ترقية لتفعيل الميزة') }} @endif

@if(isset($planLimits)) @php $percentage = !$planLimits['unlimited'] && $planLimits['max'] > 0 ? ($planLimits['current'] / $planLimits['max']) * 100 : 0; $isLow = !$planLimits['unlimited'] && $planLimits['remaining'] <= 2; $isFull = !$planLimits['unlimited'] && $planLimits['remaining'] == 0; // Determine banner color - Instagram theme overrides default if (!$planLimits['feature_available']) { $bannerColor = 'from-purple-500 to-purple-600'; $iconBg = 'bg-purple-400/30'; } elseif ($isFull) { $bannerColor = 'from-red-500 to-red-600'; $iconBg = 'bg-red-400/30'; } elseif ($isLow) { $bannerColor = 'from-orange-500 to-orange-600'; $iconBg = 'bg-orange-400/30'; } elseif ($planLimits['unlimited']) { $bannerColor = 'from-green-500 to-green-600'; $iconBg = 'bg-green-400/30'; } else { $bannerColor = 'from-purple-600 via-pink-600 to-orange-500'; // Instagram Gradient $iconBg = 'bg-white/20'; } @endphp

{{ __('الردود النشطة:') }}

{{ $planLimits['current'] }} @if(!$planLimits['unlimited']) / {{ $planLimits['max'] }} @endif
@if(!$planLimits['unlimited'])
@php $progressColor = $percentage >= 90 ? 'bg-red-300' : ($percentage >= 70 ? 'bg-yellow-300' : 'bg-green-300'); @endphp
{{ number_format($percentage, 0) }}%
@else {{ __('باقة غير محدودة') }} @endif
@if(!$planLimits['feature_available']) {{ __('ترقية') }} @elseif($isFull) {{ __('ترقية') }} @elseif($isLow) {{ __('عرض الباقات') }} @endif
@endif
{{ $stats['total'] }}
إجمالي الردود
{{ $stats['active'] }}
نشط
{{ $stats['inactive'] }}
متوقف
{{ $autoReplies->sum('usage_count') }}
إجمالي الاستخدام
@forelse($autoReplies as $autoReply)
{{ $autoReply->name }}
{{ '@' . $autoReply->instagramAccount->username }}
{!! $autoReply->getStatusBadge() !!}
{{ $autoReply->getTriggerTypeText() }}
@if($autoReply->description)

{{ $autoReply->description }}

@endif @if($autoReply->trigger_type === 'keywords' && !empty($autoReply->keywords))
الكلمات المفتاحية:
@foreach(array_slice($autoReply->keywords, 0, 3) as $keyword) #{{ $keyword }} @endforeach @if(count($autoReply->keywords) > 3) +{{ count($autoReply->keywords) - 3 }} @endif
@endif
@if($autoReply->reply_message)
الرد العلني:
{{ Str::limit($autoReply->reply_message, 80) }}
@endif @if($autoReply->private_message)
الرسالة الخاصة:
{{ Str::limit($autoReply->private_message, 80) }}
@endif
{{ $autoReply->usage_count }}
استخدام
{{ $autoReply->max_replies ?? '∞' }}
الحد الأقصى
{{ $autoReply->delay_seconds }}s
التأخير
@if($autoReply->last_used_at) آخر استخدام: {{ $autoReply->last_used_at->diffForHumans() }} @else لم يتم الاستخدام بعد @endif
@empty

لا توجد ردود تلقائية

ابدأ بإنشاء رد تلقائي لتحسين تفاعلك مع المتابعين

إنشاء رد تلقائي جديد
@endforelse
@if($autoReplies->hasPages())
{{ $autoReplies->links() }}
@endif