@section('title', $albumData->name) @section('head') {{-- dropzone antes das nossas, senão o .dropzone que ela injeta vence e a área das fotos volta a ter a borda e o fundo padrão dela --}} @endsection @php $breadcrumb = [ ['label' => __('site.menu_item_3')], ['label' => __('site.menu_item_3_sub_3'), 'url' => route('site.album.r')], ['label' => $albumData->name], ]; $album = $albumData; @endphp @include('includes/header-novo')
@include('includes.breadcrumb')

{{ $albumData->name }}

{{ trans_choice('site.page_album_photo_count', $allPhotos->total(), ['n' => $allPhotos->total()]) }}

{{ __('site.menu_item_3_sub_3') }}
@include('includes.flash') {{-- fotos ocupam a coluna larga, os ajustes do álbum ficam ao lado --}}

{{ __('site.page_album_photos') }} {{ $allPhotos->total() }}

{{-- a área toda recebe arquivo arrastado, o botão acima é só o atalho --}}
@if($allPhotos->count() == 0)

{{ __('site.page_album_photos_empty') }}

{{ __('site.page_album_drop_here') }}

@else

{{ __('site.page_album_photo_order_hint') }} · {{ __('site.page_album_drop_anywhere') }}

@foreach($allPhotos as $photo)
{{ __('site.page_album_cover') }}
@endforeach
@endif
@if($allPhotos->hasPages())
{{ $allPhotos->links('vendor.pagination.painel') }}
@endif

{{ __('site.page_album_block') }}

@include('includes.album-form')
@method('DELETE')
@section('scripts') @endsection @include('includes/footer-novo')