@foreach ($songs as $index => $song) @if(isset($song->title)) @if($element == "genre" || $element == "artist" || $element == "collection")
{!! $song->title !!}
@if(isset($song->bpm) && $song->bpm)
{{ $song->bpm }} BPM
@endif
@foreach($song->artists as $artist){!! $artist->name !!}@if(!$loop->last), @endif @endforeach @if(isset($song->bpm) && $song->bpm) • {{ $song->bpm }} BPM@endif
{{ humanTime($song->duration) }}
@elseif($element == "snapshot")
{!! $song->title !!}
{!! $song->title !!}
@elseif($element == "trending") @elseif($element == "playlist")
@if(isset($sortable) && $sortable)
@endif
{!! $song->title !!}
@foreach($song->artists as $artist){!! $artist->name !!}@if(!$loop->last), @endif @endforeach
{{humanTime($song->duration)}}
@elseif ($element == "activity") @if (count($songs) > 1) {!! $song->title !!} @else
{!! $song->title !!} @foreach($song->artists as $artist){!! $artist->name !!}@if(!$loop->last), @endif @endforeach {{ __('web.PLAY_SONG') }}
@endif @else
{!! $song->title !!}
@endif @endif @endforeach