浏览代码

AMBARI-7104. Slider View: Rename Freeze/Thaw actions to Stop/Start (alexantonenko)

Alex Antonenko 10 年之前
父节点
当前提交
4a0a0edf6c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      contrib/views/slider/src/main/resources/ui/app/controllers/slider_app_controller.js

+ 2 - 2
contrib/views/slider/src/main/resources/ui/app/controllers/slider_app_controller.js

@@ -37,7 +37,7 @@ App.SliderAppController = Ember.ObjectController.extend({
       status = this.get('model.status');
     if ('RUNNING' === status) {
       actions.pushObject({
-        title: 'Freeze',
+        title: 'Stop',
         action: 'freeze',
         confirm: true
       });
@@ -52,7 +52,7 @@ App.SliderAppController = Ember.ObjectController.extend({
     if ('FROZEN' === status) {
       actions.pushObjects([
         {
-          title: 'Thaw',
+          title: 'Start',
           action: 'thaw',
           confirm: false
         },