@extends(Theme::viewName('layout')) @section('title', 'Gallery Admin') @section('breadcrumb') @endsection @section('content')

@lang('admin.list_albums_title')

@lang('admin.list_albums_intro')
@if (count($albums) == 0)

@lang('admin.no_albums_title')

@lang('admin.no_albums_text')

@lang('admin.create_album')

@else @foreach ($albums as $album) @include (Theme::viewName('partials.single_album_admin'), ['is_child' => false]) @endforeach
{{ $albums->links() }}
@endif
@endsection @push('scripts') @endpush