Commit 8ae581db authored by Goldenscarab's avatar Goldenscarab

Mise à jour 09-2022

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