diff --git a/extension/lite/kanban/ext/lang/en/lite.php b/extension/lite/kanban/ext/lang/en/lite.php index 191b0067b2..19981bf1c9 100644 --- a/extension/lite/kanban/ext/lang/en/lite.php +++ b/extension/lite/kanban/ext/lang/en/lite.php @@ -6,3 +6,5 @@ $lang->kanban->taskColumn['developed'] = 'Developed'; $lang->kanban->taskColumn['pause'] = 'Pause'; $lang->kanban->taskColumn['canceled'] = 'Canceled'; $lang->kanban->taskColumn['closed'] = 'Closed'; + +$lang->kanban->importCards = 'Enable the import function, you can only import cards that you have permission to view.'; diff --git a/extension/lite/kanban/ext/lang/zh-cn/lite.php b/extension/lite/kanban/ext/lang/zh-cn/lite.php index 109bc66527..5aa9dc6222 100644 --- a/extension/lite/kanban/ext/lang/zh-cn/lite.php +++ b/extension/lite/kanban/ext/lang/zh-cn/lite.php @@ -6,3 +6,5 @@ $lang->kanban->taskColumn['developed'] = '已完成'; $lang->kanban->taskColumn['pause'] = '已暂停'; $lang->kanban->taskColumn['canceled'] = '已取消'; $lang->kanban->taskColumn['closed'] = '已关闭'; + +$lang->kanban->importCards = '启用导入功能,只能导入自己有权限查看的卡片'; diff --git a/extension/lite/kanban/ext/view/import.html.php b/extension/lite/kanban/ext/view/import.html.php new file mode 100644 index 0000000000..ec508ac7f7 --- /dev/null +++ b/extension/lite/kanban/ext/view/import.html.php @@ -0,0 +1,52 @@ + + * @package kanban + * @version $Id: import.html.php 935 2022-01-19 14:15:24Z hufangzhou@easycorp.ltd $ + * @link https://www.zentao.net + */ +?> + +getModuleRoot() . 'common/view/header.lite.html.php';?> + +config->vision);?> +
+
+
+

+ " . $lang->kanban->import . '';?> +

+
+
+ + + + + + + + + + + +
+ +
+ +
+
+
+
+getModuleRoot() . 'common/view/footer.html.php';?> + diff --git a/module/kanban/js/import.js b/module/kanban/js/import.js index 689502bdbe..1178f973b7 100644 --- a/module/kanban/js/import.js +++ b/module/kanban/js/import.js @@ -24,7 +24,7 @@ $(function() var enableImport = $("input:checked[name='import']").val(); var objectListLength = $("input:checked[name^=importObjectList]").length; - if(enableImport == 'on' && objectListLength == 0) + if(enableImport == 'on' && objectListLength == 0 && vision != 'lite') { $('#emptyTip').removeClass('hidden'); return false; diff --git a/module/kanban/view/import.html.php b/module/kanban/view/import.html.php index acb798bedb..7ef66ecdbb 100644 --- a/module/kanban/view/import.html.php +++ b/module/kanban/view/import.html.php @@ -13,6 +13,7 @@ +config->vision);?>