@each(notifications as n) @if(n.type === 'approve') {{ t('notifications.system') }} {{ t('notifications.upload_approved').replace('{id}', n.item_id) }} {{ new Date(n.created_at).toLocaleString() }} @elseif(n.type === 'admin_pending') {{ t('notifications.admin') }} {{ t('notifications.upload_pending').replace('{id}', n.item_id) }} {{ new Date(n.created_at).toLocaleString() }} @elseif(n.type === 'report') {{ t('notifications.moderation') }} {{ t('notifications.new_report').replace('{id}', n.reference_id) }} {{ new Date(n.created_at).toLocaleString() }} @elseif(n.type === 'deny') {{ t('notifications.system') }} {{ t('notifications.upload_denied').replace('{id}', n.item_id) }} Reason: {{ n.reason }} {{ new Date(n.created_at).toLocaleString() }} @elseif(n.type === 'item_deleted') {{ t('notifications.moderation') }} {{ t('notifications.upload_deleted').replace('{id}', n.item_id) }} Reason: {{ n.reason }} {{ new Date(n.created_at).toLocaleString() }} @elseif(n.type === 'upload_comment') {{ t('notifications.new_comments') }} {{ t('notifications.on_your_upload').replace('{id}', n.item_id) }} {{ new Date(n.created_at).toLocaleString() }} @elseif(n.type === 'upload_success') {{ t('notifications.system') }} {{ t('notifications.upload_success') }} {{ new Date(n.created_at).toLocaleString() }} @elseif(n.type === 'upload_error') @if(n.item_id) @endif {{ t('notifications.system') }} {{ t('notifications.upload_error') }} @if(n.data && n.data.msg) Reason: {{ n.data.msg }} @endif @if(n.data && n.data.url) URL: {{ n.data.url }} @endif {{ new Date(n.created_at).toLocaleString() }} @elseif(n.type === 'warning')