@if ($type === 'book') {{ $localized($record, 'author') ?: 'Publication' }} @elseif ($type === 'artefact') {{ $record->category ? $localized($record->category, 'name') : 'Artefact' }} @elseif ($type === 'news-event') {{ str($record->type)->title() }}@if ($record->event_date) · {{ $record->event_date->format('d M Y') }}@endif @elseif ($type === 'event') Event @else {{ $record->published_at?->format('d M Y') ?: 'Article' }} @endif
{{ $titleText }}
{{ str(strip_tags((string) $description))->limit(130) }}
@if ($type === 'news-event' && $record->type === 'newsletter' && $record->document) Download Newsletter View Details @else View Details @endif