This is an automated email from the ASF dual-hosted git repository.

lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new fadfb28  fix copy workflow tip (#2612)
fadfb28 is described below

commit fadfb28187f48648230094e05f946d2b41e8f67a
Author: zixi0825 <[email protected]>
AuthorDate: Wed May 6 21:33:08 2020 +0800

    fix copy workflow tip (#2612)
    
    Co-authored-by: sunchaohe <[email protected]>
---
 .../home/pages/projects/pages/definition/pages/list/_source/list.vue    | 2 +-
 dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js                  | 1 +
 dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js                  | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue
 
b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue
index efb7ea3..181383c 100644
--- 
a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue
+++ 
b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue
@@ -92,7 +92,7 @@
             <x-button type="info" shape="circle" size="xsmall" 
data-toggle="tooltip" :title="$t('Timing')" @click="_timing(item)" 
:disabled="item.releaseState !== 'ONLINE' || item.scheduleReleaseState !== 
null"  icon="ans-icon-timer"><!--{{$t('定时')}}--></x-button>
             <x-button type="warning" shape="circle" size="xsmall" 
data-toggle="tooltip" :title="$t('online')" @click="_poponline(item)" 
v-if="item.releaseState === 'OFFLINE'"  
icon="ans-icon-upward"><!--{{$t('下线')}}--></x-button>
             <x-button type="error" shape="circle" size="xsmall" 
data-toggle="tooltip" :title="$t('offline')" @click="_downline(item)" 
v-if="item.releaseState === 'ONLINE'"  
icon="ans-icon-downward"><!--{{$t('上线')}}--></x-button>
-            <x-button type="info" shape="circle" size="xsmall" 
data-toggle="tooltip" :title="$t('Copy')" @click="_copyProcess(item)" 
:disabled="item.releaseState === 'ONLINE'"  
icon="ans-icon-copy"><!--{{$t('复制')}}--></x-button>
+            <x-button type="info" shape="circle" size="xsmall" 
data-toggle="tooltip" :title="$t('Copy Workflow')" @click="_copyProcess(item)" 
:disabled="item.releaseState === 'ONLINE'"  
icon="ans-icon-copy"><!--{{$t('复制')}}--></x-button>
             <x-button type="info" shape="circle" size="xsmall" 
data-toggle="tooltip" :title="$t('Cron Manage')" @click="_timingManage(item)" 
:disabled="item.releaseState !== 'ONLINE'"  
icon="ans-icon-datetime"><!--{{$t('定时管理')}}--></x-button>
             <x-poptip
               :ref="'poptip-delete-' + $index"
diff --git a/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js 
b/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
index 0e83689..95b1f79 100755
--- a/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
+++ b/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
@@ -69,6 +69,7 @@ export default {
   'Project Manage': 'Project',
   'Create Project': 'Create Project',
   'Cron Manage': 'Cron Manage',
+  'Copy Workflow': 'Copy Workflow',
   'Tenant Manage': 'Tenant Manage',
   'Create Tenant': 'Create Tenant',
   'User Manage': 'User Manage',
diff --git a/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js 
b/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js
index 134ca84..1a9b712 100755
--- a/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js
+++ b/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js
@@ -69,6 +69,7 @@ export default {
   'Project Manage': '项目管理',
   'Create Project': '创建项目',
   'Cron Manage': '定时管理',
+  'Copy Workflow': '复制工作流',
   'Tenant Manage': '租户管理',
   'Create Tenant': '创建租户',
   'User Manage': '用户管理',

Reply via email to