浏览代码

AMBARI-1156. Dashboard > HDFS pie chart should hover with details. (yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1431847 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 年之前
父节点
当前提交
544df2c96b
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 2 0
      CHANGES.txt
  2. 3 1
      ambari-web/app/templates/main/dashboard/service/hdfs.hbs

+ 2 - 0
CHANGES.txt

@@ -469,6 +469,8 @@ AMBARI-666 branch (unreleased changes)
 
 
   IMPROVEMENTS
   IMPROVEMENTS
 
 
+  AMBARI-1156. Dashboard > HDFS pie chart should hover with details. (yusaku)
+
   AMBARI-1154. The check boxes to check/uncheck one of the members in a multi
   AMBARI-1154. The check boxes to check/uncheck one of the members in a multi
   artifact graphs is not very readable. It should be more apparent on which
   artifact graphs is not very readable. It should be more apparent on which
   one the user clicked on. (yusaku)
   one the user clicked on. (yusaku)

+ 3 - 1
ambari-web/app/templates/main/dashboard/service/hdfs.hbs

@@ -141,7 +141,9 @@
     </table>
     </table>
   </div>
   </div>
 <div class="dashboard-mini-chart span2">
 <div class="dashboard-mini-chart span2">
-  {{view view.Chart serviceBinding="view.service"}}
+  <div {{bindAttr title="view.capacity"}}>
+    {{view view.Chart serviceBinding="view.service"}}
+  </div>
   <div class="chartLabel">{{t dashboard.services.hdfs.chart.label}}</div>
   <div class="chartLabel">{{t dashboard.services.hdfs.chart.label}}</div>
   {{#if view.service.quickLinks.length}}
   {{#if view.service.quickLinks.length}}
     {{#view App.QuickViewLinks contentBinding="view.service"}}
     {{#view App.QuickViewLinks contentBinding="view.service"}}