Explorar o código

Merge pull request #311 from fermich/master

[oozie] Uncover ability to set the oozie.use.system.libpath variable on the Workflow Settings view
Romain Rigaux %!s(int64=9) %!d(string=hai) anos
pai
achega
9f51ecbf10

+ 0 - 2
apps/oozie/src/oozie/templates/editor2/workflow_editor.mako

@@ -302,7 +302,6 @@ ${ workflow.render() }
   <div class="modal-body">
   <div class="modal-body">
       <h4>${ _('Variables') }</h4>
       <h4>${ _('Variables') }</h4>
       <ul data-bind="foreach: $root.workflow.properties.parameters" class="unstyled">
       <ul data-bind="foreach: $root.workflow.properties.parameters" class="unstyled">
-        <!-- ko if: name() != 'oozie.use.system.libpath' -->
         <li>
         <li>
           <input type="text" data-bind="value: name" placeholder="${ _('Name, e.g. market') }"/>
           <input type="text" data-bind="value: name" placeholder="${ _('Name, e.g. market') }"/>
           <input type="text" data-bind="value: value" placeholder="${ _('Value, e.g. US') }"/>
           <input type="text" data-bind="value: value" placeholder="${ _('Value, e.g. US') }"/>
@@ -310,7 +309,6 @@ ${ workflow.render() }
             <i class="fa fa-minus"></i>
             <i class="fa fa-minus"></i>
           </a>
           </a>
         </li>
         </li>
-        <!-- /ko -->
       </ul>
       </ul>
       <a class="pointer" data-bind="click: function(){ $root.workflow.properties.parameters.push(ko.mapping.fromJS({'name': '', 'value': ''})); }">
       <a class="pointer" data-bind="click: function(){ $root.workflow.properties.parameters.push(ko.mapping.fromJS({'name': '', 'value': ''})); }">
         <i class="fa fa-plus"></i> ${ _('Add parameter') }
         <i class="fa fa-plus"></i> ${ _('Add parameter') }