mirror of https://github.com/MISP/MISP
chg: [workflows] Added view and editor links
parent
503f2aa08d
commit
43acefed2c
|
@ -1635,6 +1635,11 @@ $divider = $this->element('/genericElements/SideMenu/side_menu_divider');
|
|||
'url' => '/workflows/edit/' . h($id),
|
||||
'text' => __('Edit Workflow')
|
||||
));
|
||||
echo $this->element('/genericElements/SideMenu/side_menu_link', array(
|
||||
'element_id' => 'editor',
|
||||
'url' => '/workflows/editor/' . h($id),
|
||||
'text' => __('Edit Workflow in editor')
|
||||
));
|
||||
echo $this->element('/genericElements/SideMenu/side_menu_link', array(
|
||||
'url' => '/admin/audit_logs/index/model:Workflows/model_id:' . h($id),
|
||||
'text' => __('View worflow history'),
|
||||
|
|
|
@ -61,6 +61,11 @@
|
|||
'title' => __('Workflows'),
|
||||
'description' => __('You can create workflows relying on pipeline hooks to that can listen to triggers and then perform actions depending on some conditions'),
|
||||
'actions' => [
|
||||
[
|
||||
'url' => $baseurl . '/workflows/view/',
|
||||
'url_params_data_paths' => ['Workflow.id'],
|
||||
'icon' => 'eye'
|
||||
],
|
||||
[
|
||||
'url' => $baseurl . '/workflows/editor/',
|
||||
'url_params_data_paths' => ['Workflow.id'],
|
||||
|
|
Loading…
Reference in New Issue