From 7edf80355b3e3e569c3cccc8dd150d85840c3a01 Mon Sep 17 00:00:00 2001 From: mokaddem Date: Tue, 21 Apr 2020 11:56:23 +0200 Subject: [PATCH] chg: [galaxyCluster:index] Added titles to action buttons --- app/Controller/GalaxiesController.php | 1 + app/View/GalaxyClusters/ajax/index.ctp | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Controller/GalaxiesController.php b/app/Controller/GalaxiesController.php index cb6b7ea39..32022a9fd 100644 --- a/app/Controller/GalaxiesController.php +++ b/app/Controller/GalaxiesController.php @@ -378,6 +378,7 @@ class GalaxiesController extends AppController throw new MethodNotAllowedException('Invalid Galaxy.'); } $this->set('cluster', $cluster); + $this->set('defaultCluster', $cluster['GalaxyCluster']['default']); $this->set('scope', 'galaxy'); $this->set('id', $id); $this->set('galaxy_id', $cluster['Galaxy']['id']); diff --git a/app/View/GalaxyClusters/ajax/index.ctp b/app/View/GalaxyClusters/ajax/index.ctp index d7b15a5a2..76d768e5a 100644 --- a/app/View/GalaxyClusters/ajax/index.ctp +++ b/app/View/GalaxyClusters/ajax/index.ctp @@ -125,7 +125,7 @@ ), 'actions' => array( array( - 'title' => 'View graph', + 'title' => 'View correlation graph', 'url' => '/galaxies/viewGraph', 'url_params_data_paths' => array( 'GalaxyCluster.id' @@ -142,6 +142,7 @@ 'dbclickAction' => true ), array( + 'title' => 'Fork', 'url' => '/galaxy_clusters/add', 'url_params_data_paths' => array( 'GalaxyCluster.galaxy_id' @@ -152,6 +153,7 @@ 'icon' => 'code-branch' ), array( + 'title' => 'Edit', 'url' => '/galaxy_clusters/edit', 'url_params_data_paths' => array( 'GalaxyCluster.id'