|
@@ 40-48 (lines=9) @@
|
| 37 |
|
$attributes = Permission::pluck('id')->toArray(); |
| 38 |
|
|
| 39 |
|
$optionsAttributes = []; |
| 40 |
|
foreach ($attributes as $attribute) { |
| 41 |
|
$optionsAttributes[$attribute] = [ |
| 42 |
|
'title' => 'Role Information', |
| 43 |
|
'data-content' => Permission::where('id', $attribute)->select('description')->first()->description, |
| 44 |
|
'data-toggle' => 'popover', |
| 45 |
|
'data-trigger' => 'hover', |
| 46 |
|
'data-placement' => 'top' |
| 47 |
|
]; |
| 48 |
|
} |
| 49 |
|
|
| 50 |
|
$breadcrumbs = $this->breadcrumbs |
| 51 |
|
->addCrumb('Manage Roles', route('admin.role.role.index')) |
|
@@ 75-83 (lines=9) @@
|
| 72 |
|
$permission = Permission::where('slug', 'access.administration')->first(); |
| 73 |
|
|
| 74 |
|
$optionsAttributes = []; |
| 75 |
|
foreach ($attributes as $attribute) { |
| 76 |
|
$optionsAttributes[$attribute] = [ |
| 77 |
|
'title' => 'Role Information', |
| 78 |
|
'data-content' => Permission::where('id', $attribute)->select('description')->first()->description, |
| 79 |
|
'data-toggle' => 'popover', |
| 80 |
|
'data-trigger' => 'hover', |
| 81 |
|
'data-placement' => 'top' |
| 82 |
|
]; |
| 83 |
|
} |
| 84 |
|
|
| 85 |
|
$breadcrumbs = $this->breadcrumbs |
| 86 |
|
->setCssClasses('breadcrumb breadcrumb-inverse bg-inverse mb-0') |