From 6ff7ac0d246eef07988a096b1dd4b1b24a2978e3 Mon Sep 17 00:00:00 2001 From: Zongjun Lan Date: Thu, 21 Apr 2022 16:49:56 +0800 Subject: [PATCH 1/2] * fix bug #18933 --- module/execution/view/create.html.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/module/execution/view/create.html.php b/module/execution/view/create.html.php index b137b93203..5f32aecba4 100644 --- a/module/execution/view/create.html.php +++ b/module/execution/view/create.html.php @@ -10,6 +10,7 @@ * @link http://www.zentao.net */ ?> +systemMode == 'new');?> createLink('execution', 'task', "execution=$executionID");?> @@ -46,9 +47,9 @@
-

systemMode == 'new')) ? $lang->execution->createExec : $lang->execution->create;?>

+

execution->createExec : $lang->execution->create;?>

- +
@@ -61,12 +62,12 @@ - systemMode == 'new')) ? $lang->execution->execName : $lang->execution->name;?> + execution->execName : $lang->execution->name;?> - systemMode == 'new')) ? $lang->execution->execCode : $lang->execution->code;?> + execution->execCode : $lang->execution->code;?> @@ -91,7 +92,7 @@ model != 'kanban'):?> - systemMode == 'new')) ? $lang->execution->execType : $lang->execution->type;?> + execution->execType : $lang->execution->type;?> - systemMode == 'new')) ? $lang->execution->execDesc : $lang->execution->desc;?> + execution->execDesc : $lang->execution->desc;?> fetch('user', 'ajaxPrintTemplates', 'type=execution&link=desc');?> From e2cfcf4e8d22d6e441ad2bcd93e41614519cbf40 Mon Sep 17 00:00:00 2001 From: Zongjun Lan Date: Fri, 22 Apr 2022 10:34:12 +0800 Subject: [PATCH 2/2] * fix param name --- module/execution/view/create.html.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/module/execution/view/create.html.php b/module/execution/view/create.html.php index 5f32aecba4..9306e2d43a 100644 --- a/module/execution/view/create.html.php +++ b/module/execution/view/create.html.php @@ -10,7 +10,7 @@ * @link http://www.zentao.net */ ?> -systemMode == 'new');?> +systemMode == 'new');?> createLink('execution', 'task', "execution=$executionID");?> @@ -47,9 +47,9 @@
-

execution->createExec : $lang->execution->create;?>

+

execution->createExec : $lang->execution->create;?>

- +
@@ -62,12 +62,12 @@ - execution->execName : $lang->execution->name;?> + execution->execName : $lang->execution->name;?> - execution->execCode : $lang->execution->code;?> + execution->execCode : $lang->execution->code;?> @@ -92,7 +92,7 @@ model != 'kanban'):?> - execution->execType : $lang->execution->type;?> + execution->execType : $lang->execution->type;?> - execution->execDesc : $lang->execution->desc;?> + execution->execDesc : $lang->execution->desc;?> fetch('user', 'ajaxPrintTemplates', 'type=execution&link=desc');?>