From 1f7e04e6f08f90b08a56ef913f1b2d0155093192 Mon Sep 17 00:00:00 2001 From: qiyu-xie Date: Wed, 14 Jul 2021 09:31:50 +0800 Subject: [PATCH] * Add no data tips when look execution kanban. --- module/execution/control.php | 2 +- module/execution/view/executionkanban.html.php | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index 4f7955c04a..9a118778d1 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -41,7 +41,7 @@ class execution extends control $this->loadModel('project'); $this->executions = $this->execution->getPairs(0, 'all', 'nocode'); - if(!in_array($this->methodName, array('computeburn', 'ajaxgetdropmenu')) and $this->app->openApp == 'execution') + if(!in_array($this->methodName, array('computeburn', 'ajaxgetdropmenu', 'executionkanban')) and $this->app->openApp == 'execution') { if(!$this->executions and $this->methodName != 'index' and $this->methodName != 'create' and $this->app->getViewType() != 'mhtml') $this->locate($this->createLink('execution', 'create')); } diff --git a/module/execution/view/executionkanban.html.php b/module/execution/view/executionkanban.html.php index 5976288e21..ad47b74d4d 100644 --- a/module/execution/view/executionkanban.html.php +++ b/module/execution/view/executionkanban.html.php @@ -10,6 +10,13 @@ ?>
+ +
+

+ execution->noExecutions;?> +

+
+ @@ -77,6 +84,7 @@
+