ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ababiic...@apache.org
Subject git commit: AMBARI-4553 Losing heartbeat should also disable host-actions button. (ababiichuk)
Date Fri, 07 Feb 2014 12:51:35 GMT
Updated Branches:
  refs/heads/trunk 522b6d2ea -> 617828125


AMBARI-4553 Losing heartbeat should also disable host-actions button. (ababiichuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/61782812
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/61782812
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/61782812

Branch: refs/heads/trunk
Commit: 61782812576ec9f98aeb40cf9cf61dff2fe44d9a
Parents: 522b6d2
Author: aBabiichuk <ababiichuk@cybervisiontech.com>
Authored: Fri Feb 7 14:49:27 2014 +0200
Committer: aBabiichuk <ababiichuk@cybervisiontech.com>
Committed: Fri Feb 7 14:49:27 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/templates/main/host/details.hbs                     | 2 +-
 .../app/templates/main/service/info/summary/master_components.hbs  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/61782812/ambari-web/app/templates/main/host/details.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/host/details.hbs b/ambari-web/app/templates/main/host/details.hbs
index d889ea8..70e6596 100644
--- a/ambari-web/app/templates/main/host/details.hbs
+++ b/ambari-web/app/templates/main/host/details.hbs
@@ -30,7 +30,7 @@
       {{#if App.supports.deleteHost}}
 				<div class="service-button">
 				    <div class="btn-group display-inline-block">
-				      <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
+				      <a href="javascript:void(null)" {{bindAttr class=":btn :dropdown-toggle controller.content.isNotHeartBeating:disabled"}}
data-toggle="dropdown">
                 {{t hosts.host.details.hostActions}}
 				        <span class="caret"></span>
 				      </a>

http://git-wip-us.apache.org/repos/asf/ambari/blob/61782812/ambari-web/app/templates/main/service/info/summary/master_components.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/info/summary/master_components.hbs b/ambari-web/app/templates/main/service/info/summary/master_components.hbs
index caf8611..0a0e62d 100644
--- a/ambari-web/app/templates/main/service/info/summary/master_components.hbs
+++ b/ambari-web/app/templates/main/service/info/summary/master_components.hbs
@@ -28,7 +28,7 @@
       </a>
      </td>
    <td>
-     <span rel='healthTooltip' {{bindAttr class="masterComp.statusClass" title="masterComp.passiveTooltip"}}></span>
+     <span rel='healthTooltip' {{bindAttr class="masterComp.statusClass" data-original-title="masterComp.passiveTooltip"}}></span>
      {{masterComp.componentTextStatus}}
    </td>
   </tr>


Mime
View raw message