@php use App\Enums\ElementType; use App\Enums\Status; use App\Enums\NewsElementDefault; use App\Enums\Boolean; use App\Enums\MultiLangMode; $noticePage = $project->noticePage->noticeElements ->filter(function ($val) { return $val->element_type == ElementType::DEFAULT && $val->default_element_type == NewsElementDefault::NEW_LIST && $val->status == Boolean::TRUE; }) ->first(); @endphp @if ($noticePage && $notices)
$project->point_color]) !!}>NEWS
@if ($lang == MultiLangMode::DEFAULT)
お知らせ
@endif @if ($lang == MultiLangMode::CHINESE_SIMPLIFIED)
注意
@endif @if ($lang == MultiLangMode::CHINESE_TRADITIONAL)
注意
@endif
@endif