mirror of https://github.com/MISP/MISP
fix: [feed:previewEvent] Added `Fetch Event` button on the sidemenu
parent
bf6a5436dc
commit
3d1b8e9c9a
|
@ -1047,6 +1047,15 @@
|
|||
'url' => '/feeds/previewEvent/' . h($feed['Feed']['id']) . '/' . h($id),
|
||||
'text' => __('PreviewEvent')
|
||||
));
|
||||
echo $this->element('/genericElements/SideMenu/side_menu_post_link', array(
|
||||
'url' => sprintf(
|
||||
'/feeds/getEvent/%s/%s',
|
||||
h($feed['Feed']['id']),
|
||||
h($event['Event']['uuid'])
|
||||
),
|
||||
'text' => __('Fetch This Event'),
|
||||
'message' => __('Are you sure you want to fetch and save this event on your instance?')
|
||||
));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue