Browse Source

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

Conflicts:
	ambari-web/app/styles/application.less
Yusaku Sako 11 năm trước cách đây
mục cha
commit
6295e773d2

+ 3 - 0
ambari-web/app/styles/application.less

@@ -5100,3 +5100,6 @@ i.icon-asterisks {
     opacity: .9;
   }
 }
+.margin-bottom-5 {
+  margin-bottom: 5px;
+}

+ 1 - 1
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">

+ 1 - 1
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);