mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#3420 [advs-module] Add fast edit
This commit is contained in:
parent
ac3f51194a
commit
228b529728
@ -44,4 +44,5 @@ return [
|
||||
'publish' => 'Publish',
|
||||
'import' => 'Import',
|
||||
'new_status' => 'New Status',
|
||||
'fast_edit' => 'Fast Edit',
|
||||
];
|
||||
|
||||
@ -25,11 +25,19 @@ class AdvTableButtons
|
||||
return ($entry->getStatus() == 'approved') ? "danger" : "success";
|
||||
},
|
||||
],
|
||||
'edit',
|
||||
'settings' => [
|
||||
'text' => false,
|
||||
'href' => false,
|
||||
'dropdown' => [
|
||||
'edit' => [
|
||||
'icon' => null,
|
||||
'href' => function (EntryInterface $entry) {
|
||||
return route('visiosoft.module.advs::edit_adv', [$entry->id]);
|
||||
},
|
||||
],
|
||||
'fast_edit' => [
|
||||
'href' => '/admin/advs/edit/{entry.id}'
|
||||
],
|
||||
'change_owner' => [
|
||||
'data-toggle' => 'modal',
|
||||
'data-target' => '#modal',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user