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

@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')

@else

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

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

@foreach ($child_albums as $childAlbum) @include(Theme::viewName('partials.gallery_child_album')) @endforeach
@endif
@endsection