@extends('layouts.web') @section('page-title', 'Galería de Fotos - Albums') @section('content')

Galería de Fotos

@if (Auth::user())
Agregar library_add
@endif
@if (count($albums)) @foreach ($albums as $album)
{{$album->album}} {{DB::table('fotos')->where('album_id', $album->id)->count()}} Fotos

{{$album->album}}

{!! $album->description !!}
Publicado el: {{date('d M Y',strtotime($album->publish_up))}} {{\Carbon\Carbon::now()->subMinutes( \Carbon\Carbon::now()->diffInMinutes( \Carbon\Carbon::parse($album->publish_up)))->diffForHumans()}}
@if (Auth::user()) @if($album->status) @else @endif @endif
@endforeach @else @include('partials.noData') @endif @php $paginates=$albums; @endphp @include('partials.paginate')
@stop
@section('scripts') @stop