diff --git a/db/update16.5.sql b/db/update16.5.sql index 51518cb552..ae5b49e6c4 100644 --- a/db/update16.5.sql +++ b/db/update16.5.sql @@ -84,3 +84,5 @@ REPLACE INTO `zt_zoutput` (`id`, `activity`, `name`, `content`, `optional`, `sta (78,52,'禅道缺陷记录','','','','admin','2020-01-09 14:22:52','','0000-00-00 00:00:00',390,'0'), (89,58,'禅道缺陷跟踪系统记录项','','yes','','admin','2020-01-09 14:25:16','','0000-00-00 00:00:00',445,'0'), (99,64,'禅道缺陷记录项','','yes','','admin','2020-01-09 14:26:52','','0000-00-00 00:00:00',495,'0'); + +DELETE FROM `zt_config` WHERE `section` = 'customMenu'; diff --git a/extension/lite/task/ext/view/batchcreate.html.php b/extension/lite/task/ext/view/batchcreate.html.php index 8907bf1f32..6f432d2625 100644 --- a/extension/lite/task/ext/view/batchcreate.html.php +++ b/extension/lite/task/ext/view/batchcreate.html.php @@ -135,7 +135,7 @@
| story->legendFromBug;?> | @@ -243,6 +244,7 @@|||||||||
|---|---|---|---|---|---|---|---|---|---|
| story->legendLinkStories;?> | diff --git a/module/gitlab/css/common.css b/module/gitlab/css/common.css index 162e6d9854..ad50c2a1d2 100644 --- a/module/gitlab/css/common.css +++ b/module/gitlab/css/common.css @@ -1 +1,2 @@ #publicTip {padding-left: 10px;} +.table-form>tbody>tr>th {width: 110px;} diff --git a/module/mr/model.php b/module/mr/model.php index 712740bb74..b60a9a3566 100644 --- a/module/mr/model.php +++ b/module/mr/model.php @@ -1392,6 +1392,7 @@ class mrModel extends model ->where('t1.AType')->eq('mr') ->andWhere('t1.BType')->eq($objectType) ->andWhere('t1.BID')->eq($objectID) + ->andWhere('t2.id')->ne(0) ->fetchPairs(); } diff --git a/module/product/css/kanban.css b/module/product/css/kanban.css deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/module/product/css/kanban.en.css b/module/product/css/kanban.en.css new file mode 100644 index 0000000000..fdf8e681ab --- /dev/null +++ b/module/product/css/kanban.en.css @@ -0,0 +1 @@ +#kanbanList .kanban-lane {min-height: 140px !important;} diff --git a/module/product/css/kanban.zh-cn.css b/module/product/css/kanban.zh-cn.css new file mode 100644 index 0000000000..758037fd90 --- /dev/null +++ b/module/product/css/kanban.zh-cn.css @@ -0,0 +1 @@ +#kanbanList .kanban-lane {min-height: 115px !important;} diff --git a/module/programplan/view/create.html.php b/module/programplan/view/create.html.php index 39ac93c799..c95a562a64 100644 --- a/module/programplan/view/create.html.php +++ b/module/programplan/view/create.html.php @@ -22,6 +22,7 @@ echo "{$title}"; ?> + + diff --git a/module/repo/css/common.css b/module/repo/css/common.css index afa3d5d369..be0378342c 100644 --- a/module/repo/css/common.css +++ b/module/repo/css/common.css @@ -16,6 +16,7 @@ h3 {font-size: 16px;} .versions {position: relative;} #diffRepo {position: absolute; left: 20px; z-index: 1000;} #repoID {display: inline-block; width: auto;} +.table-form>tbody>tr>th {width: 110px;} .repoCode a:hover {text-decoration: none;} .commentButton { diff --git a/module/stage/model.php b/module/stage/model.php index 2a747ac4ae..53017e7b25 100644 --- a/module/stage/model.php +++ b/module/stage/model.php @@ -30,7 +30,11 @@ class stageModel extends model if(round($totalPercent + $stage->percent) > 100) return dao::$errors['message'][] = $this->lang->stage->error->percentOver; - $this->dao->insert(TABLE_STAGE)->data($stage)->autoCheck()->exec(); + $this->dao->insert(TABLE_STAGE) + ->data($stage) + ->autoCheck() + ->checkIF($stage->percent != '', 'percent', 'float') + ->exec(); if(!dao::isError()) return $this->dao->lastInsertID(); return false; @@ -62,7 +66,7 @@ class stageModel extends model $stage->createdBy = $this->app->user->account; $stage->createdDate = helper::today(); - $this->dao->insert(TABLE_STAGE)->data($stage)->autoCheck()->exec(); + $this->dao->insert(TABLE_STAGE)->data($stage)->autoCheck()->checkIF($stage->percent != '', 'percent', 'float')->exec(); $stageID = $this->dao->lastInsertID(); $this->action->create('stage', $stageID, 'Opened'); @@ -91,7 +95,7 @@ class stageModel extends model if(round($totalPercent + $stage->percent - $oldStage->percent) > 100) return dao::$errors['message'][] = $this->lang->stage->error->percentOver; - $this->dao->update(TABLE_STAGE)->data($stage)->autoCheck()->where('id')->eq((int)$stageID)->exec(); + $this->dao->update(TABLE_STAGE)->data($stage)->autoCheck()->checkIF($stage->percent != '', 'percent', 'float')->where('id')->eq((int)$stageID)->exec(); if(!dao::isError()) return common::createChanges($oldStage, $stage); return false; diff --git a/module/task/view/batchedit.html.php b/module/task/view/batchedit.html.php index ecfdc202fa..4e8550cc2f 100755 --- a/module/task/view/batchedit.html.php +++ b/module/task/view/batchedit.html.php @@ -132,7 +132,7 @@ js::set('dittoNotice', $dittoNotice); | >deadline) ? '' : $tasks[$taskID]->deadline, "class='form-control text-center form-date'");?> | >pri, "class='form-control'");?> | >estimate, "class='form-control text-center' {$disableHour}");?> | -> | +> | >left, "class='form-control text-center' {$disableHour}");?> | ' style='overflow:visible'>finishedBy, "class='form-control chosen'");?> | ' style='overflow:visible'>canceledBy, "class='form-control chosen'");?> | diff --git a/module/todo/control.php b/module/todo/control.php index f34e92a214..1643aa1001 100644 --- a/module/todo/control.php +++ b/module/todo/control.php @@ -633,7 +633,7 @@ class todo extends control $this->post->set('fields', $fields); $this->post->set('rows', $todos); - $this->post->set('kind', $this->lang->todo->common); + $this->post->set('kind', 'todo'); $this->fetch('file', 'export2' . $this->post->fileType, $_POST); }