AMBARI-6969 Add tooltips for BGO window status icons. (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/315bf96e Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/315bf96e Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/315bf96e Branch: refs/heads/branch-alerts-dev Commit: 315bf96e2e216d60b3787dc87e393a478f0026b4 Parents: b750cd8 Author: aBabiichuk <[email protected]> Authored: Thu Aug 21 12:41:23 2014 +0300 Committer: aBabiichuk <[email protected]> Committed: Thu Aug 21 12:41:23 2014 +0300 ---------------------------------------------------------------------- ambari-web/app/messages.js | 1 - ambari-web/app/utils/host_progress_popup.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/315bf96e/ambari-web/app/messages.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js index 869ef64..d1ec6ef 100644 --- a/ambari-web/app/messages.js +++ b/ambari-web/app/messages.js @@ -258,7 +258,6 @@ Em.I18n.translations = { 'hostPopup.header.postFix':' Background Operations Running', 'hostPopup.serviceInfo.showMore':'Show more...', 'hostPopup.bgop.abortRequest.title': 'Abort operation', - 'hostPopup.abortedOperation.icon.tooltip': 'Operation aborted', 'hostPopup.bgop.abortRequest.confirmation.body': 'Are you sure you want to abort \'{0}\' operation?', 'hostPopup.bgop.abortRequest.reason': 'Aborted by user', 'hostPopup.bgop.abortRequest.modal.header': 'Abort request sent', http://git-wip-us.apache.org/repos/asf/ambari/blob/315bf96e/ambari-web/app/utils/host_progress_popup.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/host_progress_popup.js b/ambari-web/app/utils/host_progress_popup.js index c78fbdb..1e2c675 100644 --- a/ambari-web/app/utils/host_progress_popup.js +++ b/ambari-web/app/utils/host_progress_popup.js @@ -89,7 +89,7 @@ App.HostPopup = Em.Object.create({ classNameBindings: ['servicesInfo.status', 'servicesInfo.icon', 'additionalClass'], attributeBindings: ['data-original-title'], 'data-original-title': function() { - return this.get('servicesInfo.status') == 'aborted' ? Em.I18n.t('hostPopup.abortedOperation.icon.tooltip') : "" + return this.get('servicesInfo.status'); }.property('servicesInfo.status'), didInsertElement: function () { App.tooltip($(this.get('element')));
