From 149d4b4244e1f2fbe119c5dffcb3b0001156a14f Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Tue, 9 Jul 2019 09:44:16 +0800 Subject: [PATCH] * Add code to bug view for workflow. --- module/bug/view/activate.html.php | 1 + module/bug/view/assignto.html.php | 1 + module/bug/view/close.html.php | 1 + module/bug/view/create.html.php | 1 + module/bug/view/edit.html.php | 2 ++ module/bug/view/resolve.html.php | 1 + 6 files changed, 7 insertions(+) diff --git a/module/bug/view/activate.html.php b/module/bug/view/activate.html.php index 2c0dd95469..13d2eb4ef8 100644 --- a/module/bug/view/activate.html.php +++ b/module/bug/view/activate.html.php @@ -34,6 +34,7 @@ bug->openedBuild;?> openedBuild, 'size=4 multiple=multiple class="form-control chosen"');?> + config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=2');?> comment;?> diff --git a/module/bug/view/assignto.html.php b/module/bug/view/assignto.html.php index 9d9e1866c8..5dbf26216b 100644 --- a/module/bug/view/assignto.html.php +++ b/module/bug/view/assignto.html.php @@ -38,6 +38,7 @@ js::set('page', 'assignedto'); bug->mailto;?> mailto), 'class="form-control chosen" multiple');?> + config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=2');?> comment;?> diff --git a/module/bug/view/close.html.php b/module/bug/view/close.html.php index 86e05df53d..8ad7dcb654 100644 --- a/module/bug/view/close.html.php +++ b/module/bug/view/close.html.php @@ -26,6 +26,7 @@
+ config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=1');?> diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php index 9361d1bab3..4994179d17 100644 --- a/module/bug/view/create.html.php +++ b/module/bug/view/create.html.php @@ -278,6 +278,7 @@ js::set('flow', $config->global->flow); + config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=2');?> diff --git a/module/bug/view/edit.html.php b/module/bug/view/edit.html.php index 6c293fc0eb..d202c2776c 100644 --- a/module/bug/view/edit.html.php +++ b/module/bug/view/edit.html.php @@ -62,6 +62,7 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild); + config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'div', 'position=left&divCell=false');?>
files;?>
fetch('file', 'buildform');?>
@@ -298,6 +299,7 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild);
comment;?>
bug->files;?> fetch('file', 'buildform', 'fileCount=1&percent=0.85');?>
+ config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'div', 'position=right&divCell=false');?> diff --git a/module/bug/view/resolve.html.php b/module/bug/view/resolve.html.php index 4ba1db9a13..c6343620c9 100644 --- a/module/bug/view/resolve.html.php +++ b/module/bug/view/resolve.html.php @@ -74,6 +74,7 @@ js::set('productID' , $bug->product); bug->assignedTo;?> + config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=1');?> bug->files;?> fetch('file', 'buildform', 'fileCount=1&percent=0.85');?>