chg: [galaxyCluster:index] Added titles to action buttons

pull/6120/head
mokaddem 2020-04-21 11:56:23 +02:00
parent 49e59a8403
commit 7edf80355b
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
2 changed files with 4 additions and 1 deletions

View File

@ -378,6 +378,7 @@ class GalaxiesController extends AppController
throw new MethodNotAllowedException('Invalid Galaxy.'); throw new MethodNotAllowedException('Invalid Galaxy.');
} }
$this->set('cluster', $cluster); $this->set('cluster', $cluster);
$this->set('defaultCluster', $cluster['GalaxyCluster']['default']);
$this->set('scope', 'galaxy'); $this->set('scope', 'galaxy');
$this->set('id', $id); $this->set('id', $id);
$this->set('galaxy_id', $cluster['Galaxy']['id']); $this->set('galaxy_id', $cluster['Galaxy']['id']);

View File

@ -125,7 +125,7 @@
), ),
'actions' => array( 'actions' => array(
array( array(
'title' => 'View graph', 'title' => 'View correlation graph',
'url' => '/galaxies/viewGraph', 'url' => '/galaxies/viewGraph',
'url_params_data_paths' => array( 'url_params_data_paths' => array(
'GalaxyCluster.id' 'GalaxyCluster.id'
@ -142,6 +142,7 @@
'dbclickAction' => true 'dbclickAction' => true
), ),
array( array(
'title' => 'Fork',
'url' => '/galaxy_clusters/add', 'url' => '/galaxy_clusters/add',
'url_params_data_paths' => array( 'url_params_data_paths' => array(
'GalaxyCluster.galaxy_id' 'GalaxyCluster.galaxy_id'
@ -152,6 +153,7 @@
'icon' => 'code-branch' 'icon' => 'code-branch'
), ),
array( array(
'title' => 'Edit',
'url' => '/galaxy_clusters/edit', 'url' => '/galaxy_clusters/edit',
'url_params_data_paths' => array( 'url_params_data_paths' => array(
'GalaxyCluster.id' 'GalaxyCluster.id'