@extends('layouts.web')
@section('page-title', 'Galería de Fotos - Albums')
@section('content')
@if (Auth::user())
@endif
@if (count($albums))
@foreach ($albums as $album)
{{DB::table('fotos')->where('album_id', $album->id)->count()}} Fotos
{!! $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