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

Galería de Fotos

@if (Auth::user())
Agregar library_add
@endif
@if (count($fotos)) @foreach ($fotos as $foto)
{{HTML::image('assets/fotos/'.$foto->file, $foto->title, array('class'=>'materialboxed image-album__'))}}
{{ $foto->title }}
Publicado el: {{date('d M Y',strtotime($foto->publish_up))}} {{\Carbon\Carbon::now()->subMinutes( \Carbon\Carbon::now()->diffInMinutes( \Carbon\Carbon::parse($foto->publish_up)))->diffForHumans()}}

{!! $foto->description !!}
@if (Auth::user()) @if($foto->status) @else @endif @endif
@endforeach @else @include('partials.noData') @endif
@php $paginates=$fotos; @endphp @include('partials.paginateFoto') @include('partials.share') @stop
@section('scripts') @stop