@extends('templates.backend') @section('page-title', isset($page_title) ? $page_title : 'View Marker') @section('breadcrumbs') {!! App\Helpers\Breadcrumbs::generate([ 'Markers' => ['backend.markers.index'], $marker->name => null, ]); !!} @stop @section('content') @if(($live_map_url = config('misc.live_map_url')) && $marker->is_active) View On Live Map @else View On Live Map @endif {!! link_to_route('backend.markers.edit.get', 'Edit Marker', [$marker->id], ['class' => 'btn btn-warning']) !!} {!! link_to_route('backend.markers.destroy', 'Delete Marker', [$marker->id], ['class' => 'btn btn-danger']) !!}

@include('backend.markers._partials.snapshot')
{!! link_to_route('backend.categories.show', 'View Category', [$marker->category_id], ['class' => 'btn btn-primary']) !!} @include('backend.categories._partials.snapshot', ['category' => $marker->category])
NULL
@if($image_url = $marker->getImageUrl('image')) {!! link_to_route('backend.markers.delete_image', 'Delete Image', [$marker->id], ['class' => 'btn btn-danger']) !!}

@else None @endif
@if($icon_url = $marker->getImageUrl('icon')) {!! link_to_route('backend.markers.delete_icon', 'Delete Icon', [$marker->id], ['class' => 'btn btn-danger']) !!}

@else None @endif
@stop