You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vi...@apache.org on 2012/06/07 03:22:14 UTC

svn commit: r1347257 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/js/deployProgress.js

Author: vikram
Date: Thu Jun  7 01:22:13 2012
New Revision: 1347257

URL: http://svn.apache.org/viewvc?rev=1347257&view=rev
Log:
AMBARI-450. Boldify/Redify restart HMC message when nagios/ganglia is on the hmc host (Contributed by Yusaku)

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/js/deployProgress.js

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1347257&r1=1347256&r2=1347257&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Thu Jun  7 01:22:13 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-450. Boldify/Redify restart HMC message when nagios/ganglia is on the hmc host (Yusaku via Vikram)
+
   AMBARI-449. Post cluster install/deploy the URL hmc/html/initializeCluster.php should be disabled (Yusaku via Vikram)
 
   AMBARI-448. Redesign progress popups. (Yusaku via Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/js/deployProgress.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/js/deployProgress.js?rev=1347257&r1=1347256&r2=1347257&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/js/deployProgress.js (original)
+++ incubator/ambari/branches/ambari-186/hmc/js/deployProgress.js Thu Jun  7 01:22:13 2012
@@ -81,9 +81,9 @@ function renderDeployProgress (deployPro
   var hmcRestartMsg = '';
   if (deployProgressInfo.nagiosGangliaCoHosted != null
       && deployProgressInfo.nagiosGangliaCoHosted) {
-    hmcRestartMsg = '<strong>Note:</strong> We detected that you need to restart HMC as'
-        + ' Nagios/Ganglia are co-hosted on this server. <br/>Please restart'
-        + ' HMC using \"service hmc restart\".  After that is done, ';
+    hmcRestartMsg = '<span style="color:red"><strong>Note:</strong> You need to restart HMC as'
+        + ' Nagios/Ganglia are co-hosted on this server.<br>Please restart'
+        + ' HMC using \"service hmc restart\".</span><br>After that is done, ';
   } else {
     hmcRestartMsg = 'Please ';
   }
@@ -96,7 +96,7 @@ function renderDeployProgress (deployPro
   var deployProgressStatusMessage = {
 
     success:
-      '<p style=\"text-align:center\">' +
+      '<p>' +
         'Your cluster is ready! <br/>' + hmcRestartMsg +
       '</p>',
     failure: