Pārlūkot izejas kodu

AMBARI-20133. Changes/Overwrites to Bundles and Coordinators Show as Workflow, Not able to select text from worflow 'Definition' tab (Venkata Sairam via pallavkul)

pallavkul 8 gadi atpakaļ
vecāks
revīzija
4c613754c0

+ 1 - 1
contrib/views/wfmanager/src/main/resources/ui/app/components/save-wf.js

@@ -97,7 +97,7 @@ export default Ember.Component.extend(Validations, {
     this.get("saveJobService").saveWorkflow(url, workflowData).promise.then(function(response){
         self.showNotification({
           "type": "success",
-          "message": "Workflow have been saved"
+          "message": this.get("displayName")+" have been saved"
         });
         self.set("savingInProgress",false);
         this.set('jobFilePath', this.get('filePath'));

+ 3 - 2
contrib/views/wfmanager/src/main/resources/ui/app/styles/app.less

@@ -850,12 +850,10 @@ height: 100vh;
 
 .preview pre.prettyprint {
   border: none;
-  background: #fff;
 }
 
 .preview pre {
   border: none;
-  background: #fff;
 }
 
 .date-picker {
@@ -1758,3 +1756,6 @@ height: 100vh;
  .CodeMirror{
    height: auto;
  }
+ pre {
+   background-color : white;
+ }

+ 2 - 2
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/save-wf.hbs

@@ -20,7 +20,7 @@
     <div class="modal-content">
       <div class="modal-header">
         <button type="button" class="close" data-dismiss="modal">&times;</button>
-        <h4 class="modal-title">Save Workflow</h4>
+        <h4 class="modal-title">Save {{displayName}}</h4>
       </div>
       <div class="modal-body">
         <div class="panel panel-default">
@@ -41,7 +41,7 @@
             </div>
             {{/if}}
             <div class="row form-group">
-              <div class="col-xs-3"> 
+              <div class="col-xs-3">
                 <label class="control-label" for="{{type}}-path">{{displayName}} path</label><span class="requiredField">&nbsp;*</span>
               </div>
               <div class="col-xs-8">