@extends('student.layouts.app') @section('title', $notification->title) @section('content') @php $isArabic = app()->getLocale() === 'ar'; $creatorName = trim(($notification->creator->first_name ?? '') . ' ' . ($notification->creator->last_name ?? '')); $creatorName = $creatorName !== '' ? $creatorName : ($isArabic ? 'النظام' : 'System'); @endphp
{{ $notification->created_at->diffForHumans() }}