-
+
+

webhook->setting;?>

+
+
@@ -31,7 +34,4 @@ - diff --git a/module/admin/view/safe.html.php b/module/admin/view/safe.html.php index ebf91e4c8e..a904abee7e 100644 --- a/module/admin/view/safe.html.php +++ b/module/admin/view/safe.html.php @@ -22,8 +22,9 @@
- - + getClientLang() == 'en' ? 'w-300px' : 'w-130px';?> + + diff --git a/module/bug/control.php b/module/bug/control.php index f1365cc19b..6349fcf4db 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -181,7 +181,7 @@ class bug extends control * @access public * @return void */ - public function report($productID, $browseType, $branchID, $moduleID, $chartType = '') + public function report($productID, $browseType, $branchID, $moduleID, $chartType = 'default') { $this->loadModel('report'); $this->view->charts = array(); diff --git a/module/bug/view/report.html.php b/module/bug/view/report.html.php index 674d41f772..b069220d49 100644 --- a/module/bug/view/report.html.php +++ b/module/bug/view/report.html.php @@ -43,7 +43,7 @@
report->typeList as $type => $typeName):?> - " : "") . $typeName, '', "class='btn btn-link " . ($type == $chartType ? 'btn-active-line' : '') . "'")?> + " : "") . $typeName, '', "class='btn btn-link " . ($type == $chartType ? 'btn-active-line' : '') . "'")?>
report->notice->help;?>
diff --git a/module/build/css/create.css b/module/build/css/create.css new file mode 100644 index 0000000000..c07e19ef8c --- /dev/null +++ b/module/build/css/create.css @@ -0,0 +1 @@ +#product_chosen .chosen-single{border-right:0px;} diff --git a/module/common/lang/en.php b/module/common/lang/en.php index 4e9e69798a..49572d6e4e 100644 --- a/module/common/lang/en.php +++ b/module/common/lang/en.php @@ -262,7 +262,6 @@ $lang->task = new stdclass(); $lang->build = new stdclass(); $lang->task->menu = $lang->project->menu; $lang->build->menu = $lang->project->menu; -$lang->build->menu->qa = array('link' => 'Build|project|build|projectID=%s', 'subModule' => 'bug,build,testtask', 'alias' => 'build,testtask', 'class' => 'dropdown dropdown-hover'); /* QA menu settings. */ $lang->qa = new stdclass(); diff --git a/module/common/lang/zh-cn.php b/module/common/lang/zh-cn.php index eda5876cef..5816725194 100644 --- a/module/common/lang/zh-cn.php +++ b/module/common/lang/zh-cn.php @@ -262,7 +262,6 @@ $lang->task = new stdclass(); $lang->build = new stdclass(); $lang->task->menu = $lang->project->menu; $lang->build->menu = $lang->project->menu; -$lang->build->menu->qa = array('link' => '版本|project|build|projectID=%s', 'subModule' => 'bug,build,testtask', 'alias' => 'build,testtask', 'class' => 'dropdown dropdown-hover'); /* QA视图菜单设置。*/ $lang->qa = new stdclass(); diff --git a/module/company/view/edit.html.php b/module/company/view/edit.html.php index c939b1fd17..1165a3b07a 100644 --- a/module/company/view/edit.html.php +++ b/module/company/view/edit.html.php @@ -23,7 +23,8 @@
admin->safe->password?>admin->safe->modeList, isset($config->safe->mode) ? $config->safe->mode : 0, "onclick=showModeRule(this.value)")?>admin->safe->password?>admin->safe->modeList, isset($config->safe->mode) ? $config->safe->mode : 0, "onclick=showModeRule(this.value)")?> admin->safe->noticeMode?>
- + getClientLang() == 'en' ? 'w-120px' : 'w-80px';?> + diff --git a/module/custom/view/set.html.php b/module/custom/view/set.html.php index 6c46bbe157..9baf324790 100644 --- a/module/custom/view/set.html.php +++ b/module/custom/view/set.html.php @@ -54,7 +54,8 @@ EOT;
company->name;?>company->name;?> name, "class='form-control'");?>
- + getClientLang() == 'en' ? 'w-140px' : 'w-80px';?> + diff --git a/module/dept/view/browse.html.php b/module/dept/view/browse.html.php index 623f204520..7d937bc132 100644 --- a/module/dept/view/browse.html.php +++ b/module/dept/view/browse.html.php @@ -110,19 +110,19 @@ $(function() sort: { title: 'dept->dragAndSort ?>', - template: 'sort;?>' + template: '' }, edit: { linkTemplate: '', title: 'dept->edit ?>', - template: 'edit?>' + template: '' }, "delete": { linkTemplate: '', title: 'dept->delete ?>', - template: 'delete?>' + template: '' } }, action: function(event) diff --git a/module/doc/control.php b/module/doc/control.php index b72b132e6e..a4a9a78c04 100644 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -809,7 +809,6 @@ class doc extends control } elseif($from == 'project') { - $this->lang->modulePageActions = common::hasPriv('doc', 'createLib') ? html::a(helper::createLink('doc', 'createLib'), " " . $this->lang->doc->createLib, '', "class='btn btn-secondary iframe' data-width='70%'") : ''; $this->lang->doc->menu = $this->lang->project->menu; $this->lang->doc->menuOrder = $this->lang->project->menuOrder; $this->project->setMenu($this->project->getPairs('nocode'), $objectID); diff --git a/module/message/view/setting.html.php b/module/message/view/setting.html.php index ef406cf078..adda824901 100644 --- a/module/message/view/setting.html.php +++ b/module/message/view/setting.html.php @@ -47,7 +47,12 @@ ?> - + getClientLang() == 'en' ? 'w-130px' : '1-100px';?> + @@ -52,7 +53,7 @@ - + diff --git a/module/project/view/bug.html.php b/module/project/view/bug.html.php index 32784e2537..6fc0fd6cf2 100644 --- a/module/project/view/bug.html.php +++ b/module/project/view/bug.html.php @@ -54,9 +54,9 @@ - - - + + + diff --git a/module/project/view/linkstory.html.php b/module/project/view/linkstory.html.php index 987cba2a11..33294ba60b 100644 --- a/module/project/view/linkstory.html.php +++ b/module/project/view/linkstory.html.php @@ -48,7 +48,7 @@ - + diff --git a/module/project/view/manageproducts.html.php b/module/project/view/manageproducts.html.php index 22db1b9d5b..20d06bb628 100644 --- a/module/project/view/manageproducts.html.php +++ b/module/project/view/manageproducts.html.php @@ -27,16 +27,11 @@
'> -
+
";?> - +
- branch, "class='form-control chosen'"); - } - ?> + branch, "class='form-control chosen'");?>
@@ -50,16 +45,11 @@ $productName):?>
'> -
+
";?> - +
- +
diff --git a/module/project/view/story.html.php b/module/project/view/story.html.php index ca66d82a89..3f3db33df1 100644 --- a/module/project/view/story.html.php +++ b/module/project/view/story.html.php @@ -104,7 +104,7 @@ idAB);?> -
+ diff --git a/module/project/view/view.html.php b/module/project/view/view.html.php index 631a42607e..00ff3afdb0 100644 --- a/module/project/view/view.html.php +++ b/module/project/view/view.html.php @@ -133,7 +133,7 @@
- id", "  " . $lang->doc->createLib, '', "class='text-muted iframe'");?> + id", "  " . $lang->doc->createLib, '', "class='text-muted iframe' data-width='1000px'");?>
diff --git a/module/report/view/blockreportlist.html.php b/module/report/view/blockreportlist.html.php index 3feb15c02d..1e9394db18 100644 --- a/module/report/view/blockreportlist.html.php +++ b/module/report/view/blockreportlist.html.php @@ -11,7 +11,7 @@ $list .= '|'; list($label, $module, $method, $params) = explode('|', $list); $class = $label == $title ? 'selected' : ''; - if(common::hasPriv($module, $method)) echo html::a($this->createLink($module, $method, $params), ' ' . $label, '', "class='$class'"); + if(common::hasPriv($module, $method)) echo html::a($this->createLink($module, $method, $params), ' ' . $label, '', "class='$class' title='$label'"); } ?> diff --git a/module/task/control.php b/module/task/control.php index f849c3c2fc..2c7f9088e5 100644 --- a/module/task/control.php +++ b/module/task/control.php @@ -1200,7 +1200,7 @@ class task extends control * @access public * @return void */ - public function report($projectID, $browseType = 'all', $chartType = '') + public function report($projectID, $browseType = 'all', $chartType = 'default') { $this->loadModel('report'); $this->view->charts = array(); diff --git a/module/task/lang/en.php b/module/task/lang/en.php index 5aeb5847c3..0407351d55 100644 --- a/module/task/lang/en.php +++ b/module/task/lang/en.php @@ -98,7 +98,7 @@ $lang->task->closedReason = 'CloseReason'; $lang->task->lastEditedBy = 'ModifiedBy'; $lang->task->lastEditedDate = 'ModifiedDate'; $lang->task->lastEdited = 'Last Edited'; -$lang->task->recordEstimate = '%'; +$lang->task->recordEstimate = 'Effort'; $lang->task->editEstimate = 'Edit Estimates'; $lang->task->deleteEstimate = 'Delete Estimates'; $lang->task->colorTag = 'Color'; diff --git a/module/task/view/recordestimate.html.php b/module/task/view/recordestimate.html.php index 5d28aab526..25a89a971e 100644 --- a/module/task/view/recordestimate.html.php +++ b/module/task/view/recordestimate.html.php @@ -41,8 +41,9 @@ - - + getClientLang() == 'en' ? 'w-90px' : 'w-70px';?> + + diff --git a/module/testcase/config.php b/module/testcase/config.php index 33580f591d..79b81d39e9 100644 --- a/module/testcase/config.php +++ b/module/testcase/config.php @@ -118,7 +118,7 @@ $config->testcase->datatable->fieldList['keywords']['required'] = 'no'; $config->testcase->datatable->fieldList['assignedTo']['title'] = 'assignedTo'; $config->testcase->datatable->fieldList['assignedTo']['fixed'] = 'no'; -$config->testcase->datatable->fieldList['assignedTo']['width'] = '80'; +$config->testcase->datatable->fieldList['assignedTo']['width'] = '120'; $config->testcase->datatable->fieldList['assignedTo']['required'] = 'no'; $config->testcase->datatable->fieldList['openedBy']['title'] = 'openedByAB'; diff --git a/module/testtask/js/groupcase.js b/module/testtask/js/groupcase.js index 8157df3154..25edbaec4d 100644 --- a/module/testtask/js/groupcase.js +++ b/module/testtask/js/groupcase.js @@ -1,4 +1,5 @@ $(document).ready(function() { $('#' + browseType + 'Tab').addClass('active'); + $('.c-side.has-btn').removeAttr('title'); }); diff --git a/module/user/view/batchcreate.html.php b/module/user/view/batchcreate.html.php index 9784ee1b75..6175dd4df1 100644 --- a/module/user/view/batchcreate.html.php +++ b/module/user/view/batchcreate.html.php @@ -25,7 +25,7 @@ $visibleFields = array(); foreach(explode(',', $showFields) as $field) { - if(strpos(",{$config->user->customBatchCreateFields},", $field) === false) continue; + if(strpos(",{$config->user->customBatchCreateFields},", ",{$field},") === false) continue; if($field) $visibleFields[$field] = ''; } $minWidth = (count($visibleFields) > 5) ? 'w-150px' : ''; diff --git a/module/user/view/batchedit.html.php b/module/user/view/batchedit.html.php index 443a45d4c8..a8442d65d2 100644 --- a/module/user/view/batchedit.html.php +++ b/module/user/view/batchedit.html.php @@ -24,7 +24,7 @@ $visibleFields = array(); foreach(explode(',', $showFields) as $field) { - if(strpos(",{$config->user->customBatchEditFields},", $field) === false) continue; + if(strpos(",{$config->user->customBatchEditFields},", ",{$field},") === false) continue; if($field)$visibleFields[$field] = ''; } $minWidth = (count($visibleFields) > 7) ? 'w-120px' : ''; diff --git a/module/user/view/profile.html.php b/module/user/view/profile.html.php index 48960f185b..9b8a4703ee 100644 --- a/module/user/view/profile.html.php +++ b/module/user/view/profile.html.php @@ -96,7 +96,7 @@
user->address;?>
-
address;?>
+
address;?>
user->zipcode;?>
zipcode;?>
diff --git a/module/user/view/testcase.html.php b/module/user/view/testcase.html.php index 0e88117d6e..95b691fcea 100755 --- a/module/user/view/testcase.html.php +++ b/module/user/view/testcase.html.php @@ -39,11 +39,11 @@ - + - + diff --git a/module/webhook/view/log.html.php b/module/webhook/view/log.html.php index 51c73c8d4f..6dd1c87b56 100644 --- a/module/webhook/view/log.html.php +++ b/module/webhook/view/log.html.php @@ -21,7 +21,7 @@
- " . $lang->webhook->setting, '', "class='btn btn-primary'");?> + " . $lang->webhook->setting, '', "class='btn btn-primary iframe'", '', true);?>
diff --git a/xuanxuan/module/chat/ext/lang/en/xuanxuan.php b/xuanxuan/module/chat/ext/lang/en/xuanxuan.php index 70eb7b4657..5ca8714770 100644 --- a/xuanxuan/module/chat/ext/lang/en/xuanxuan.php +++ b/xuanxuan/module/chat/ext/lang/en/xuanxuan.php @@ -1,5 +1,5 @@ chat->common = 'Xuanxuan'; +$lang->chat->common = 'Desktop'; $lang->chat->turnon = 'On'; $lang->chat->help = 'Help'; $lang->chat->settings = 'Settings';
custom->storyReview;?>custom->storyReview;?> custom->reviewList, $needReview);?>
$value) + { + $checked = strpos(",$selected,", ",{$key},") !== false ? "checked='checked'" : ''; + echo "
"; + } if(isset($config->message->condition[$type][$objectType])) { $moduleName = $objectType == 'case' ? 'testcase' : $objectType; diff --git a/module/my/control.php b/module/my/control.php index 69b0bbe6fd..a9559267ec 100644 --- a/module/my/control.php +++ b/module/my/control.php @@ -393,7 +393,7 @@ class my extends control { $this->user->updatePassword($this->app->user->id); if(dao::isError()) die(js::error(dao::getError())); - die(js::locate($this->createLink('my', 'profile'), 'parent')); + die(js::locate($this->createLink('my', 'profile'), 'parent.parent')); } $this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->changePassword; diff --git a/module/my/view/profile.html.php b/module/my/view/profile.html.php index 5cebb8b458..05eb223b76 100644 --- a/module/my/view/profile.html.php +++ b/module/my/view/profile.html.php @@ -94,7 +94,7 @@
user->address;?>
-
address;?>
+
address;?>
user->zipcode;?>
zipcode;?>
diff --git a/module/product/lang/en.php b/module/product/lang/en.php index 818d025893..9b35d57e6b 100644 --- a/module/product/lang/en.php +++ b/module/product/lang/en.php @@ -57,7 +57,7 @@ $lang->product->errorNoProduct = "No {$lang->productCommon} is created yet!"; $lang->product->accessDenied = "You have no access to the {$lang->productCommon}."; $lang->product->id = 'ID'; -$lang->product->name = 'Product Name'; +$lang->product->name = "{$lang->productCommon} Name"; $lang->product->code = 'Code'; $lang->product->line = "{$lang->productCommon} Line"; $lang->product->order = 'Rank'; @@ -66,7 +66,7 @@ $lang->product->typeAB = 'Type'; $lang->product->status = 'Status'; $lang->product->desc = 'Description'; $lang->product->manager = 'Managers'; -$lang->product->PO = 'Product Owner'; +$lang->product->PO = "{$lang->productCommon} Owner"; $lang->product->QD = 'QA Manager'; $lang->product->RD = 'Release Manager'; $lang->product->acl = 'ACL'; diff --git a/module/project/js/kanban.js b/module/project/js/kanban.js index cbe413726a..e0b6116eb4 100644 --- a/module/project/js/kanban.js +++ b/module/project/js/kanban.js @@ -194,6 +194,7 @@ $(function() shown: function(){$('.modal-iframe').addClass('with-titlebar').data('cancel-reload', true)}, hidden: refresh }); - return false; + return false; }); + setTimeout(function(){$('#kanban .c-side.has-btn').removeAttr('title');}, 500); }); diff --git a/module/project/lang/en.php b/module/project/lang/en.php index b686bd3d51..d592b84e7b 100644 --- a/module/project/lang/en.php +++ b/module/project/lang/en.php @@ -36,6 +36,7 @@ $lang->project->release = 'Release'; $lang->project->acl = 'ACL'; $lang->project->teamname = 'Team Name'; $lang->project->order = "Rank {$lang->projectCommon}"; +$lang->project->orderAB = "Rank"; $lang->project->products = "Link {$lang->productCommon}"; $lang->project->whitelist = 'Whitelist'; $lang->project->totalEstimate = 'Estimates'; diff --git a/module/project/lang/zh-cn.php b/module/project/lang/zh-cn.php index 973ca21953..bb863c0078 100644 --- a/module/project/lang/zh-cn.php +++ b/module/project/lang/zh-cn.php @@ -36,6 +36,7 @@ $lang->project->release = '发布'; $lang->project->acl = '访问控制'; $lang->project->teamname = '团队名称'; $lang->project->order = $lang->projectCommon . '排序'; +$lang->project->orderAB = '排序'; $lang->project->products = '相关' . $lang->productCommon; $lang->project->whitelist = '分组白名单'; $lang->project->totalEstimate = '预计'; diff --git a/module/project/view/all.html.php b/module/project/view/all.html.php index 484829e5b0..344bf80eed 100644 --- a/module/project/view/all.html.php +++ b/module/project/view/all.html.php @@ -43,7 +43,8 @@
project->name);?> project->code);?>project->PM);?>project->PM);?> project->end);?> project->status);?> project->totalEstimate;?>project->progress;?> project->burn;?> project->updateOrder);?>project->orderAB);?>
bug->severityAB);?> priAB);?> bug->title);?> openedByAB);?>assignedToAB);?> bug->resolvedBy);?> openedByAB);?>assignedToAB);?> bug->resolvedBy);?> bug->resolutionAB);?> actions;?>
product->branchName[$productType];?> openedByAB;?>openedByAB;?> story->estimateAB;?>
project->updateOrder);?> project->orderAB);?> priAB);?> story->title);?>
idAB;?> task->date;?>task->consumedThisTime;?>task->leftThisTime;?>task->consumed;?>task->left;?> comment;?> team) or $task->assignedTo == $this->app->user->account) echo $lang->actions;?>
priAB);?> testcase->title);?> typeAB);?> openedByAB);?> openedByAB);?> testtask->lastRunAccount);?> testtask->lastRunTime);?> testtask->lastRunResult);?>statusAB);?>statusAB);?>