Commit d9736ed4 authored by Sylvain's avatar Sylvain

Readme - Mise à jour

parent 2c95497d
......@@ -27,11 +27,58 @@ Laravel 5.8 uses Package Auto-Discovery, so doesn't require you to manually add
'route_prefix' => $route_prefix,
'can_prefix' => $can_prefix,
'menu' => [
'display' => true,
'is_readable' => true,
'is_editable' => true,
'is_deletable' => true,
'is_duplicable' => false,
'button' => [
'label' => ['template' => [
'format' => '<i class="fa fa-list mr-2"></i>Éléments<span class="badge badge-dark ml-2">%s</span>',
'args' => ['callback' => [
'function' => 'count',
'args' => ':menuItems'
]]
]],
'permission' => 'menu-read',
'href' => ['url' => [
'route' => $route_prefix . '.item.list',
'args' => [':id']
]],
],
'dropdown' => [ 'items' => [
[
'label' => '<i class="fa fa-eye mr-2"></i>Voir la page',
'permission' => 'page-read',
'href' => [
'url' => [
'template' => [
'format' => '%s%s',
'args' => [url('/'), ':uri']
]
]
],
],
[
'label' => [
'template' => [
'format' => '<i class="fa fa-clipboard mr-2"></i>[ page|%s ]',
'args' => ':slug',
]
],
'permission' => 'page-read',
'href' => '#',
'title' => 'Copier le Tag',
'class' => 'clipboard-copy',
'data-clipboard-action' => 'copy',
'data-clipboard-text' => [
'template' => [
'format' => '[ page|%s ]',
'args' => ':slug',
]
],
],
'[READ]',
'[UPDATE]',
'[DUPLICATE]',
'[SEPARATOR]',
'[DELETE]'
]]
],
'source' => $items,
'columns' => array([
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment