1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- @extends('admin.layout.index')
- @push('css-head')
- @endpush
- @section('content')
- <!-- Page header -->
- <div class="page-header page-header-light">
- <div class="breadcrumb-line breadcrumb-line-light header-elements-md-inline">
- <div class="d-flex">
- <div class="breadcrumb">
- <a href="{{url('/admin')}}" class="breadcrumb-item"><i class="icon-home2 mr-2"></i> Dashboard</a>
- <a href="{{url('/admin/permissions')}}" class="breadcrumb-item"> Permissions</a>
- <span class="breadcrumb-item active">View</span>
- </div>
- </div>
- </div>
- </div>
- <!-- /page header -->
- <!-- Content area -->
- <div class="content">
- <div class="card">
- <div class="table-responsive">
- <table class="table">
- <tbody>
- <tr>
- <td class="font-weight-bold">Name:</td>
- <td>{{ $permission->display_name }}</td>
- </tr>
- <tr>
- <td class="font-weight-bold">Code:</td>
- <td>{{ $permission->name }}</td>
- </tr>
- <tr>
- <td class="font-weight-bold">Parent:</td>
- <td>{{ @$permission->parent_id==0?'Parent':$permission->parent->display_name }}</td>
- </tr>
- <tr>
- <td class="font-weight-bold">Created at:</td>
- <td>{{date('F j, y h:i a', strtotime($permission->created_at))}}</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <!-- /content area -->
- @endsection
- @push('scripts')
- @endpush
|