From 28239ba67426500266ab3b99c5bde96113c131de Mon Sep 17 00:00:00 2001 From: mokaddem Date: Mon, 4 May 2020 12:21:21 +0200 Subject: [PATCH] chg: [galaxyClusters:updateCluster] Slightly improved UI --- app/View/GalaxyClusters/update_cluster.ctp | 19 ++++++++++++------- app/View/GalaxyClusters/view.ctp | 2 +- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/app/View/GalaxyClusters/update_cluster.ctp b/app/View/GalaxyClusters/update_cluster.ctp index 0332f35e6..e5c271b58 100644 --- a/app/View/GalaxyClusters/update_cluster.ctp +++ b/app/View/GalaxyClusters/update_cluster.ctp @@ -1,15 +1,17 @@
+

-
-
-
%s', h($parentVersion))) ?>
-
+

+

-

+

+
+
+
@@ -34,7 +36,10 @@
-

+

+
+
+
@@ -60,7 +65,7 @@ -

+

Form->create('GalaxyCluster');?>
diff --git a/app/View/GalaxyClusters/view.ctp b/app/View/GalaxyClusters/view.ctp index 39e782f75..11eeb7672 100755 --- a/app/View/GalaxyClusters/view.ctp +++ b/app/View/GalaxyClusters/view.ctp @@ -16,7 +16,7 @@ } $extendedFromHtml = sprintf('
    %s
', implode('', $extendFromLinks)); if ($newVersionAvailable) { - $extendedFromHtml .= sprintf('
%s
', sprintf(__('New version available! Update cluster to version %s'), + $extendedFromHtml .= sprintf('
%s
', sprintf(__('New version available! Update cluster to version %s'), '/galaxy_clusters/updateCluster/' . $cluster['GalaxyCluster']['id'], h($cluster['GalaxyCluster']['extended_from']['GalaxyCluster']['version']) ));