From 94e88a56bfb94396407de79542df5c7ac91a6515 Mon Sep 17 00:00:00 2001 From: Attila Fulop <1162360+fulopattila122@users.noreply.github.com> Date: Fri, 27 Oct 2023 15:30:58 +0300 Subject: [PATCH] Added the possibility to display channels list without captions --- src/resources/views/channel/_list_for_card.blade.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/resources/views/channel/_list_for_card.blade.php b/src/resources/views/channel/_list_for_card.blade.php index cc54da0..fd0ddac 100644 --- a/src/resources/views/channel/_list_for_card.blade.php +++ b/src/resources/views/channel/_list_for_card.blade.php @@ -1,6 +1,8 @@ +@unless(isset($noCaption)) | +@endunless @if($model->channels->count()) - {{ __('Channels') }}: + @unless(isset($noCaption)){{ __('Channels') }}:@endunless @can('view channels') @foreach($model->channels->take(3) as $channel)