Skip to content
Snippets Groups Projects
Commit eb463ff1 authored by Ghislo's avatar Ghislo
Browse files

add actions to custom-fields manager plugin

parent 9b203163
5 merge requests!2080Sandbox detach zf from storm,!2061Master,!1989Dev#45275 3155 contractuel application nouvelle methode d edition par lot des articles aux collections,!1968full plugin mod for multiselection,!1959Dev#45275 3155 contractuel application nouvelle methode d edition par lot des articles aux collections
Pipeline #86 failed with stage
in 8 minutes and 45 seconds
......@@ -34,7 +34,25 @@ class ZendAfi_Controller_Plugin_Manager_CustomField {
'label' => 'Rattacher un champ personnalisé',
'icon' => 'add_page']
];
return [];
return [
['url' => '/admin/custom-fields/up/id/%s',
'icon' => 'up',
'label' => 'Monter'],
['url' => '/admin/custom-fields/down/id/%s',
'icon' => 'down',
'label' => 'Descendre'],
['url' => '/admin/custom-fields/edit/id/%s',
'icon' => 'edit',
'label' => 'Modifier'],
['url' => '/admin/custom-fields/delete/id/%s',
'icon' => 'delete',
'label' => 'Supprimer',
'anchorOptions' => ['onclick' => "return confirm('Etes-vous sûr de vouloir supprimer ce champs ?');"]]
];
}
}
?>
\ No newline at end of file
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