Commit 8ae581db authored by Goldenscarab's avatar Goldenscarab

Mise à jour 09-2022

parent c81b8af0
...@@ -63,7 +63,7 @@ class ActionMenu ...@@ -63,7 +63,7 @@ class ActionMenu
'comparator' => true, 'comparator' => true,
'false' => '#', 'false' => '#',
'true' => ['template' => [ 'true' => ['template' => [
'format' => '%s/read/%s', 'format' => '%s/show/%s',
'args' => [$this->url_prefix, ':id'] 'args' => [$this->url_prefix, ':id']
]], ]],
]], ]],
......
...@@ -61,7 +61,7 @@ class Bootstrap4 { ...@@ -61,7 +61,7 @@ class Bootstrap4 {
$render = ''; $render = '';
$template = '<a class="btn text-nowrap btn-flat btn-sm %s"%s>%s</a>'; $template = '<a class="btn text-nowrap btn-flat btn-sm %s"%s>%s</a>';
$class = mixte_get($attrs, 'class', 'btn-success'); $class = mixte_get($attrs, 'class', 'btn-success');
$label = mixte_get($attrs, 'label'); $label = mixte_get($attrs, 'label');
$permission = mixte_get($attrs, 'permission'); $permission = mixte_get($attrs, 'permission');
if (!auth()->user()->can($permission)) { if (!auth()->user()->can($permission)) {
......
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