@extends('index') @section('content') @include('profile.nav')
@if (count($profile->playlists))
@if (auth()->check() && auth()->user()->username == $profile->username) @endif
@include('commons.playlist', ['playlists' => $profile->playlists, 'element' => 'profile'])
@else
@if (auth()->check() && auth()->user()->username == $profile->username)

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

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

@else

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

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

@endif
@endif
@endsection