@extends('layouts.admin')
@section('styles')
@endsection
@section('content')
{{ __('Galleries') }}
@if (session('success'))
{!! session('success') !!}
@endif
@if (session('error'))
{!! session('error') !!}
@endif
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('type'))
{{ $errors->first('type') }}
@endif
| Menu Name |
Menu Order* |
Type |
Visible** |
Created By |
Action*** |
@foreach($galleries as $gallery)
| {{$gallery->name}} |
|
{{ucfirst($gallery->type)}} |
@if($gallery->visible)
@else
@endif
|
{{$gallery->createdBy->name}}
{{$gallery->createdBy->surname}} |
|
@endforeach
{{ $galleries->links() }}
* Edit the position (number) where you want the menu item to appear, then click on the "
" icon to update. The rest will re-order after it.
** Click icon to change visibility:
(Visble)
(NOT Visble)
***
Edit Gallery
Delete Gallery
NOTES: Before a gallery can be deleted all images or videos in that gallery must be deleted first!
Delete can not be undone.
@endsection