@extends('index') @section('pagination') @include('commons.song', ['songs' => $profile->collection, 'element' => 'collection']) @stop @section('content') @include('profile.nav')
@if (count($profile->collection))
@include('commons.toolbar.song', ['type' => 'collection', 'id' => $profile->id])
@yield('pagination')
@else
@if (auth()->check() && auth()->user()->username == $profile->username)

{{ __('web.EMPTY_COLLECTION_OWNER') }}

{{ __('web.EMPTY_COLLECTION_DESC_OWNER') }}

@else

{{ __('web.EMPTY_COLLECTION', ['name' => $profile->name]) }}

{{ __('web.EMPTY_COLLECTION_DESC') }}

@endif
@endif
@endsection