@extends('themes.base.layout') @section('title', $album->name) @php ($hasChildren = $album->children()->count() > 0) @section('content')

@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