@extends('index') @section('pagination') @if($channel->object_type == 'song') @include('commons.song', ['songs' => $channel->objects, 'element' => 'genre']) @elseif($channel->object_type == 'artist') @include('commons.artist', ['artists' => $channel->objects, 'element' => 'collection']) @elseif($channel->object_type == 'album')
@include('commons.album', ['albums' => $channel->objects, 'element' => 'grid'])
@elseif($channel->object_type == 'playlist') @include('commons.playlist', ['playlists' => $channel->objects, 'element' => null]) @elseif($channel->object_type == 'station') @include('commons.station', ['stations' => $channel->objects, 'element' => 'carousel']) @elseif($channel->object_type == 'user') @include('commons.user', ['users' => $channel->objects, 'element' => 'grid']) @elseif($channel->object_type == 'podcast')
@include('commons.podcast', ['podcasts' => $channel->objects, 'element' => 'grid'])
@endif @stop @section('content') {!! Advert::get('header') !!}
@if($channel->object_type == 'song') @include('commons.toolbar.song', ['type' => 'channel', 'id' => $channel->id]) @elseif($channel->object_type == 'station') @include('commons.toolbar.station') @endif
object_type == 'song') id="songs-grid" @endif class="infinity-load-more items-sort-able @if($channel->object_type == 'playlist' || $channel->object_type == 'user') playlists-grid @endif"> @yield('pagination')
{!! Advert::get('footer') !!} @endsection