ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject git commit: AMBARI-7669 Missing version list control for "read-only" cluster user. (Ievgen Fialkovskyi via atkach)
Date Tue, 07 Oct 2014 08:48:50 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 6b8ecd54c -> bba0d5446


AMBARI-7669 Missing version list control for "read-only" cluster user. (Ievgen Fialkovskyi
via atkach)


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

Branch: refs/heads/trunk
Commit: bba0d5446c3af8394a82c72d844deaf88d77d661
Parents: 6b8ecd5
Author: atkach <atkach@hortonworks.com>
Authored: Tue Oct 7 11:48:21 2014 +0300
Committer: atkach <atkach@hortonworks.com>
Committed: Tue Oct 7 11:48:38 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/templates/common/configs/config_history_flow.hbs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/bba0d544/ambari-web/app/templates/common/configs/config_history_flow.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/common/configs/config_history_flow.hbs b/ambari-web/app/templates/common/configs/config_history_flow.hbs
index 4a36fb5..68d6b11 100644
--- a/ambari-web/app/templates/common/configs/config_history_flow.hbs
+++ b/ambari-web/app/templates/common/configs/config_history_flow.hbs
@@ -55,7 +55,6 @@
     {{/if}}
       <div class="version-info-bar">
         <div class="row-fluid">
-          {{#if App.isManager}}
             <div class="btn-group pull-left">
               <button id="toggle-dropdown-button" class="btn dropdown-toggle" data-toggle="dropdown"
href="#" {{action hideFullList target="view"}} {{bindAttr disabled="view.versionActionsDisabled"}}>
                 <i class="icon-random"></i>
@@ -79,8 +78,10 @@
                       </div>
                       <div class="version-operations-buttons">
                         <button {{bindAttr disabled="serviceVersion.disabledActionAttr.view"
class=":btn serviceVersion.isDisplayed:not-allowed-cursor" title="serviceVersion.disabledActionMessages.view"}}
{{action switchVersion serviceVersion target="view"}}><i class="icon-search"></i>&nbsp;{{t
common.view}}</button>
+                        {{#if App.isManager}}
                         <button {{bindAttr disabled="serviceVersion.disabledActionAttr.compare"
class=":btn serviceVersion.isDisplayed:not-allowed-cursor" title="serviceVersion.disabledActionMessages.compare"}}
{{action compare serviceVersion target="view"}}><i class="icon-copy"></i>&nbsp;{{t
common.compare}}</button>
                         <button {{bindAttr disabled="serviceVersion.disabledActionAttr.revert"
class=":btn serviceVersion.isCurrent:not-allowed-cursor" title="serviceVersion.disabledActionMessages.revert"}}
{{action revert serviceVersion target="view"}}>{{t dashboard.configHistory.info-bar.revert.button}}</button>
+                        {{/if}}
                       </div>
                     </ul>
                   </li>
@@ -95,7 +96,6 @@
                 {{/unless}}
               </ul>
             </div>
-          {{/if}}
             <div class="label-wrapper span8" data-toggle="tooltip" {{bindAttr data-original-title="view.displayedServiceVersion.fullNotes"}}>
                 <span class="label label-info">{{view.displayedServiceVersion.versionText}}</span>
               {{#if view.displayedServiceVersion.isCurrent}}


Mime
View raw message