瀏覽代碼

HUE-6077 [menu] Rename Oozie to Scheduler

Romain Rigaux 8 年之前
父節點
當前提交
63a72cb
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 1 1
      desktop/core/src/desktop/templates/assist.mako
  2. 4 4
      desktop/core/src/desktop/templates/hue.mako

+ 1 - 1
desktop/core/src/desktop/templates/assist.mako

@@ -1723,7 +1723,7 @@ from notebook.conf import get_ordered_interpreters
         <i class="fa fa-fw fa-cloud-upload"></i> ${_('Upload workload')}
       </a>
       <a href="javascript:void(0)" data-bind="visible: activeTables().length > 0, click: function() { huePubSub.publish('editor.table.stats.upload', activeTables()); }" title="${ _('Load table and columns stats in order to improve recommendations') }">
-        <i class="fa fa-fw fa-cloud-upload"> ${_('Upload DDL')}</i>
+        <i class="fa fa-fw fa-cloud-upload"></i> ${_('Upload DDL')}
       </a>
       </br>
       <a href="javascript:void(0)" data-bind="click: function() { huePubSub.publish('editor.workload.upload'); }" title="${ _('Load past query history in order to improve recommendations') }">

+ 4 - 4
desktop/core/src/desktop/templates/hue.mako

@@ -1017,23 +1017,23 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
         % if 'oozie' in apps:
           % if not user.has_hue_permission(action="disable_editor_access", app="oozie") or user.is_superuser:
             self.quickCreateActions.push({
-              displayName: '${ _('Workflow') }',
+              displayName: '${ _('Scheduler') }',
               icon: 'oozie',
               isCategory: true,
               children: [{
-                displayName: '${_('New Workflow')}',
+                displayName: '${_('Workflow')}',
                 icon: 'oozie-workflow',
                 click: function() {
                   page('/oozie/editor/workflow/new/')
                 }
               }, {
-                displayName: '${_('New Schedule')}',
+                displayName: '${_('Schedule')}',
                 icon: 'oozie-coordinator',
                 click: function() {
                   page('/oozie/editor/coordinator/new/')
                 }
               }, {
-                displayName: '${_('New Bundle')}',
+                displayName: '${_('Bundle')}',
                 icon: 'oozie-bundle',
                 click: function() {
                   page('/oozie/editor/bundle/new/')