ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject git commit: AMBARI-4169. Default Config Group Duplicate UI not clear. (Mikhail Bayuk via yusaku)
Date Fri, 27 Dec 2013 21:53:40 GMT
Updated Branches:
  refs/heads/branch-1.4.3 221b59dd1 -> 36264b67b


AMBARI-4169. Default Config Group Duplicate UI not clear. (Mikhail Bayuk via yusaku)


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

Branch: refs/heads/branch-1.4.3
Commit: 36264b67bdf511e656b0b77d63aed487d92b4ea0
Parents: 221b59d
Author: Yusaku Sako <yusaku@hortonworks.com>
Authored: Fri Dec 27 13:53:05 2013 -0800
Committer: Yusaku Sako <yusaku@hortonworks.com>
Committed: Fri Dec 27 13:53:29 2013 -0800

----------------------------------------------------------------------
 ambari-web/app/styles/application.less                          | 5 ++++-
 .../main/service/manage_configuration_groups_popup.hbs          | 2 +-
 ambari-web/app/views/main/service/manage_config_groups_view.js  | 2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/36264b67/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less
index a9ac2d5..c64138a 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -5099,4 +5099,7 @@ i.icon-asterisks {
   #filterCleaner:hover {
     opacity: .9;
   }
-}
\ No newline at end of file
+}
+.margin-bottom-5 {
+  margin-bottom: 5px;
+}

http://git-wip-us.apache.org/repos/asf/ambari/blob/36264b67/ambari-web/app/templates/main/service/manage_configuration_groups_popup.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/manage_configuration_groups_popup.hbs b/ambari-web/app/templates/main/service/manage_configuration_groups_popup.hbs
index c429a36..6ffcd8e 100644
--- a/ambari-web/app/templates/main/service/manage_configuration_groups_popup.hbs
+++ b/ambari-web/app/templates/main/service/manage_configuration_groups_popup.hbs
@@ -15,7 +15,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 }}
-<div class="alert alert-info">{{t services.service.config_groups_popup.notice serviceNameBinding="view.displayName"}}</div>
+<div class="alert alert-info margin-bottom-5">{{t services.service.config_groups_popup.notice
serviceNameBinding="view.displayName"}}</div>
 <div class="row-fluid  manage-configuration-group-content">
   <div class="span12">
     <div class="row-fluid">

http://git-wip-us.apache.org/repos/asf/ambari/blob/36264b67/ambari-web/app/views/main/service/manage_config_groups_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/manage_config_groups_view.js b/ambari-web/app/views/main/service/manage_config_groups_view.js
index b7aa34e..934104e 100644
--- a/ambari-web/app/views/main/service/manage_config_groups_view.js
+++ b/ambari-web/app/views/main/service/manage_config_groups_view.js
@@ -36,7 +36,7 @@ App.MainServiceManageConfigGroupView = Em.View.extend({
     if(selectedConfigGroup.isDefault){
       this.set('isRemoveButtonDisabled', true);
       this.set('isRenameButtonDisabled', true);
-      this.set('isDuplicateButtonDisabled', true);
+      this.set('isDuplicateButtonDisabled', false);
     }else{
       this.set('isRemoveButtonDisabled', false);
       this.set('isRenameButtonDisabled', false);


Mime
View raw message