From e1dd273c3c3776080f41137f90a885cfc2645a33 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 9 Mar 2022 08:49:13 +0800 Subject: [PATCH 01/35] * Modify the add contact popup style. --- module/my/view/buildcontactlists.html.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/my/view/buildcontactlists.html.php b/module/my/view/buildcontactlists.html.php index 4500d2b2bd..1a210b3245 100644 --- a/module/my/view/buildcontactlists.html.php +++ b/module/my/view/buildcontactlists.html.php @@ -17,8 +17,9 @@ if($contactLists) } else { + $width = isonlybody() ? 'data-width=100%' : ''; echo ''; - echo '"; + echo '"; echo ''; echo ''; echo ''; From 06701aa5a0856b1fcebed5d51d322a0e45f43913 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 9 Mar 2022 09:34:52 +0800 Subject: [PATCH 02/35] * Fix style issues when raising bugs. --- module/bug/view/create.html.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php index c33c1a9f2a..ca57e65f41 100644 --- a/module/bug/view/create.html.php +++ b/module/bug/view/create.html.php @@ -124,7 +124,9 @@ if($this->app->tab == 'project') js::set('objectID', $projectID);
bug->openedBuild?> + +
bug->allBuilds, "class='btn' id='all' data-toggle='tooltip' onclick='loadAllBuilds()'")?>
From 2d3c8464d3d0e44e4dea3154b30481784c877115 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Wed, 9 Mar 2022 10:20:46 +0800 Subject: [PATCH 03/35] * Fix bug #20458,20369,20140,20373. --- extension/lite/block/ext/lang/en/lite.php | 2 ++ extension/lite/block/ext/lang/zh-cn/lite.php | 2 ++ extension/lite/common/ext/lang/en/lite.php | 1 + extension/lite/common/ext/lang/zh-cn/lite.php | 1 + extension/lite/todo/ext/view/batchcreate.lite.html.hook.php | 2 -- module/todo/js/batchcreate.js | 1 + module/todo/view/batchcreate.html.php | 3 +++ module/user/control.php | 2 -- 8 files changed, 10 insertions(+), 4 deletions(-) diff --git a/extension/lite/block/ext/lang/en/lite.php b/extension/lite/block/ext/lang/en/lite.php index fbefe01a6d..2b2566c658 100644 --- a/extension/lite/block/ext/lang/en/lite.php +++ b/extension/lite/block/ext/lang/en/lite.php @@ -19,7 +19,9 @@ $lang->block->story = 'Target'; $lang->block->storyCount = 'Target Count'; +/* unset contribute and projectteam. */ unset($lang->block->default['full']['my']['9']); +unset($lang->block->default['full']['my']['6']); $lang->block->default['full']['my']['5']['title'] = 'Kanban List'; $lang->block->default['full']['my']['5']['block'] = 'scrumlist'; diff --git a/extension/lite/block/ext/lang/zh-cn/lite.php b/extension/lite/block/ext/lang/zh-cn/lite.php index 9bd80e60a2..4c60831543 100644 --- a/extension/lite/block/ext/lang/zh-cn/lite.php +++ b/extension/lite/block/ext/lang/zh-cn/lite.php @@ -19,7 +19,9 @@ $lang->block->story = '目标'; $lang->block->storyCount = '目标数'; +/* unset contribute and projectteam. */ unset($lang->block->default['full']['my']['9']); +unset($lang->block->default['full']['my']['6']); $lang->block->default['full']['my']['5']['title'] = '看板列表'; $lang->block->default['full']['my']['5']['block'] = 'scrumlist'; diff --git a/extension/lite/common/ext/lang/en/lite.php b/extension/lite/common/ext/lang/en/lite.php index feec557208..d010fef107 100644 --- a/extension/lite/common/ext/lang/en/lite.php +++ b/extension/lite/common/ext/lang/en/lite.php @@ -68,6 +68,7 @@ $lang->my->menuOrder[5] = 'index'; $lang->my->menuOrder[10] = 'calendar'; if($config->edition != 'open') $lang->my->menuOrder[11] = 'effort'; $lang->my->menuOrder[20] = 'task'; +$lang->my->menuOrder[25] = 'contacts'; $lang->my->dividerMenu = ',calendar,'; diff --git a/extension/lite/common/ext/lang/zh-cn/lite.php b/extension/lite/common/ext/lang/zh-cn/lite.php index 9012c1b61f..f6f3feccfd 100644 --- a/extension/lite/common/ext/lang/zh-cn/lite.php +++ b/extension/lite/common/ext/lang/zh-cn/lite.php @@ -68,6 +68,7 @@ $lang->my->menuOrder[5] = 'index'; $lang->my->menuOrder[10] = 'calendar'; if($config->edition != 'open') $lang->my->menuOrder[11] = 'effort'; $lang->my->menuOrder[20] = 'task'; +$lang->my->menuOrder[25] = 'contacts'; $lang->my->dividerMenu = ',calendar,'; diff --git a/extension/lite/todo/ext/view/batchcreate.lite.html.hook.php b/extension/lite/todo/ext/view/batchcreate.lite.html.hook.php index f9ced5a133..93373fe779 100644 --- a/extension/lite/todo/ext/view/batchcreate.lite.html.hook.php +++ b/extension/lite/todo/ext/view/batchcreate.lite.html.hook.php @@ -1,8 +1,6 @@ -';?> diff --git a/module/todo/js/batchcreate.js b/module/todo/js/batchcreate.js index 31c002d1b4..04aef4a837 100644 --- a/module/todo/js/batchcreate.js +++ b/module/todo/js/batchcreate.js @@ -25,4 +25,5 @@ $(function() $('#todoBatchAddForm #switchDate').val(value); }); $('.main-header #date').change(); + parent.$('#triggerModal .modal-content .modal-header .close').hide(); }); diff --git a/module/todo/view/batchcreate.html.php b/module/todo/view/batchcreate.html.php index 75442634be..359b2effc7 100755 --- a/module/todo/view/batchcreate.html.php +++ b/module/todo/view/batchcreate.html.php @@ -96,8 +96,11 @@ +';?>