@extends('themes.base.layout') @section('title', 'Gallery Admin') @section('content')
@if (count($albums) == 0)

@lang('admin.no_albums_title')

@lang('admin.no_albums_text')

@lang('admin.create_album')

@else @foreach ($albums as $album) @endforeach
@lang('admin.list_albums_name_column')
{{ $album->name }}

{{ $album->description }}

{{ $album->photos_count }} {{ trans_choice('admin.stats_photos', $album->photos_count) }}

@lang('forms.edit_action') @lang('forms.delete_action')
{{ $albums->links() }}
@lang('admin.create_album_link')
@endif
@endsection