@extends('admin.layouts.app') @section('title', 'Menu Item Details') @section('content')
| Title: | {{ $menu->title }} |
| Icon: |
@if($menu->icon)
{{ $menu->icon }}
@else
No icon
@endif
|
| Parent: | @if($menu->parent) @if($menu->parent->icon) @endif {{ $menu->parent->title }} @else Top Level Menu @endif |
| Sort Order: | {{ $menu->sort_order }} |
| Link Type: | @if($menu->route_name) Internal Route @else Custom URL @endif |
| Route/URL: |
@if($menu->route_name)
{{ $menu->route_name }}
@elseif($menu->url)
{{ $menu->url }}
@if($menu->target === '_blank')
@endif
@else
No link
@endif
|
| Target: | @if($menu->target === '_blank') New Window @else Same Window @endif |
| Status: | @if($menu->is_active) Active @else Inactive @endif @if($menu->is_external) External @endif |
{{ $menu->description }}
| Title | Icon | Link | Order | Status | Actions |
|---|---|---|---|---|---|
| @if($child->icon) @endif {{ $child->title }} |
@if($child->icon)
{{ $child->icon }}
@else
-
@endif
|
@if($child->route_name) {{ $child->route_name }} @elseif($child->url) {{ Str::limit($child->url, 30) }} @else - @endif | {{ $child->sort_order }} | @if($child->is_active) Active @else Inactive @endif |
| ID: | {{ $menu->id }} |
| Created: | {{ $menu->created_at->format('M d, Y H:i') }} |
| Updated: | {{ $menu->updated_at->format('M d, Y H:i') }} |
| Children: | {{ $menu->children->count() }} item(s) |
| Siblings: | {{ $menu->parent->children->count() }} item(s) |