Prechádzať zdrojové kódy

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

Alex Antonenko 10 rokov pred
rodič
commit
4a0a0edf6c

+ 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
         },