Selaa lähdekoodia

AMBARI-223: Add troubleshoot link in the Alerts table to provide documentation for debugging/resolving the alerts by vgogate

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/ambari-186@1338507 13f79535-47bb-0310-9956-ffa450edef68
Suhas 13 vuotta sitten
vanhempi
commit
2c55a0433b
2 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 2 0
      CHANGES.txt
  2. 2 2
      mon_dashboard/src/ui/js/common.js

+ 2 - 0
CHANGES.txt

@@ -2,6 +2,8 @@ Ambari Change log
 
 Release 0.x.x - unreleased
 
+  AMBARI-223. Add troubleshoot link in the Alerts table to provide documentation for debugging/resolving the alerts (vgogate)
+
   AMBARI-222. Remove the word alert from all the Nagios alerts descriptions. (vgogate)
 
   AMBARI-221. Service fails to set its state to failed if a component fails to be acted upon (Hitesh via vgogate)

+ 2 - 2
mon_dashboard/src/ui/js/common.js

@@ -754,9 +754,9 @@
 
           // Refresh the caption to indicate service name.
           if(page == "HDFS" || page == "MAPREDUCE" || page == "HBASE"){
-            $("#alertsGrid").jqGrid('setCaption',"Configured Alerts");
+            $("#alertsGrid").jqGrid('setCaption',"Configured Alerts (<a href=\"http://hortonworks.com\">troubleshoot?</a>)");
           } else {
-            $("#alertsGrid").jqGrid('setCaption',targetId+" Alerts");
+            $("#alertsGrid").jqGrid('setCaption',targetId+" Alerts (<a href=\"http://hortonworks.com\">troubleshoot?</a>)");
           }
           
           // Populate Alerts Grid