@extends(Theme::viewName('layout')) @section('title', $album->name) @php ($hasChildren = $album->children()->count() > 0) @section('breadcrumb') @include(Theme::viewName('partials.album_breadcrumb')) @endsection @section('content')
@can('edit', $album)
@endcan

@lang('gallery.album_no_results_heading')

@lang('gallery.album_no_results_text', ['admin_link' => sprintf('%s', route('admin'), trans('admin.title'))])

@lang('gallery.album_no_results_text_2')

@if ($hasChildren)

@lang('gallery.other_albums_heading', ['album_name' => $album->name])

@lang('gallery.other_albums_description')

@foreach ($album->children as $childAlbum)
@endforeach
@endif
@endsection