Skip to content

Commit

Permalink
Added the possibility to display channels list without captions
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 committed Oct 27, 2023
1 parent 1ed2f53 commit 94e88a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/resources/views/channel/_list_for_card.blade.php
Original file line number Diff line number Diff line change
@@ -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)
<a href="{{ route('vanilo.admin.channel.show', $channel->id) }}">
Expand Down

0 comments on commit 94e88a5

Please sign in to comment.