mirror of https://github.com/MISP/MISP
fix: [UI] View action should be last
parent
ed4cf8172a
commit
cd4bd53d68
|
@ -179,7 +179,7 @@
|
|||
),
|
||||
'actions' => array(
|
||||
array(
|
||||
'title' => 'Restore Cluster',
|
||||
'title' => __('Restore Cluster'),
|
||||
'url' => '/galaxy_clusters/restore',
|
||||
'url_params_data_paths' => array(
|
||||
'GalaxyCluster.id'
|
||||
|
@ -201,7 +201,7 @@
|
|||
),
|
||||
),
|
||||
array(
|
||||
'title' => 'Publish Cluster',
|
||||
'title' => __('Publish Cluster'),
|
||||
'url' => '/galaxy_clusters/publish',
|
||||
'url_params_data_paths' => array(
|
||||
'GalaxyCluster.id'
|
||||
|
@ -227,7 +227,7 @@
|
|||
),
|
||||
),
|
||||
array(
|
||||
'title' => 'View correlation graph',
|
||||
'title' => __('View correlation graph'),
|
||||
'url' => '/galaxies/viewGraph',
|
||||
'url_params_data_paths' => array(
|
||||
'GalaxyCluster.id'
|
||||
|
@ -235,16 +235,7 @@
|
|||
'icon' => 'share-alt',
|
||||
),
|
||||
array(
|
||||
'title' => 'View',
|
||||
'url' => '/galaxy_clusters/view',
|
||||
'url_params_data_paths' => array(
|
||||
'GalaxyCluster.id'
|
||||
),
|
||||
'icon' => 'eye',
|
||||
'dbclickAction' => true
|
||||
),
|
||||
array(
|
||||
'title' => 'Fork',
|
||||
'title' => __('Fork'),
|
||||
'url' => '/galaxy_clusters/add',
|
||||
'url_params_data_paths' => array(
|
||||
'GalaxyCluster.galaxy_id'
|
||||
|
@ -267,7 +258,7 @@
|
|||
),
|
||||
),
|
||||
array(
|
||||
'title' => 'Edit',
|
||||
'title' => __('Edit'),
|
||||
'url' => '/galaxy_clusters/edit',
|
||||
'url_params_data_paths' => array(
|
||||
'GalaxyCluster.id'
|
||||
|
@ -291,7 +282,7 @@
|
|||
),
|
||||
),
|
||||
array(
|
||||
'title' => 'Delete',
|
||||
'title' => __('Delete'),
|
||||
'icon' => 'trash',
|
||||
'onclick' => 'simplePopup(\'' . $baseurl . '/galaxy_clusters/delete/[onclick_params_data_path]\');',
|
||||
'onclick_params_data_path' => 'GalaxyCluster.id',
|
||||
|
@ -308,12 +299,21 @@
|
|||
)
|
||||
),
|
||||
),
|
||||
array(
|
||||
'title' => __('View'),
|
||||
'url' => '/galaxy_clusters/view',
|
||||
'url_params_data_paths' => array(
|
||||
'GalaxyCluster.id'
|
||||
),
|
||||
'icon' => 'eye',
|
||||
'dbclickAction' => true
|
||||
),
|
||||
)
|
||||
)
|
||||
));
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
$(function(){
|
||||
var passedArgsArray = <?php echo $passedArgs; ?>;
|
||||
var galaxyId = "<?php echo h($galaxy_id); ?>";
|
||||
|
|
Loading…
Reference in New Issue