* Finish task #8651.

This commit is contained in:
tianshujie98
2020-12-16 14:39:19 +08:00
parent 14ce1b7a90
commit c1fb6ddf0e
8 changed files with 11 additions and 16 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ class repo extends control
$this->view->groups = $this->loadModel('group')->getPairs();
$this->view->users = $this->loadModel('user')->getPairs('noletter|noempty|nodeleted');
$this->view->programs = $this->loadModel('program')->getPRJPairs();
$this->view->projects = $this->loadModel('program')->getPRJPairs();
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->create;
$this->view->position[] = $this->lang->repo->create;
@@ -129,7 +129,7 @@ class repo extends control
$this->view->repoID = $repoID;
$this->view->groups = $this->loadModel('group')->getPairs();
$this->view->users = $this->loadModel('user')->getPairs('noletter|noempty|nodeleted');
$this->view->programs = $this->loadModel('program')->getPRJPairs();
$this->view->projects = $this->loadModel('program')->getPRJPairs();
$this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->edit;
$this->view->position[] = html::a(inlink('maintain'), $this->lang->repo->common);
+1 -2
View File
@@ -2,7 +2,7 @@
$lang->repo->common = 'Repo';
$lang->repo->browse = 'View';
$lang->repo->viewRevision = 'View Revision';
$lang->repo->program = 'Program';
$lang->repo->project = 'Project';
$lang->repo->create = 'Create';
$lang->repo->createAction = 'Create Repo';
$lang->repo->maintain = 'Repo List';
@@ -30,7 +30,6 @@ $lang->repo->addComment = 'Add Comment';
$lang->repo->product = $lang->productCommon;
$lang->repo->module = 'Module';
$lang->repo->project = $lang->projectCommon;
$lang->repo->type = 'Type';
$lang->repo->assign = 'AssignTo';
$lang->repo->title = 'Title';
+1 -2
View File
@@ -2,7 +2,7 @@
$lang->repo->common = 'Repo';
$lang->repo->browse = 'View';
$lang->repo->viewRevision = 'View Revision';
$lang->repo->program = 'Program';
$lang->repo->project = 'Project';
$lang->repo->create = 'Create';
$lang->repo->createAction = 'Create Repo';
$lang->repo->maintain = 'Repo List';
@@ -30,7 +30,6 @@ $lang->repo->addComment = 'Add Comment';
$lang->repo->product = $lang->productCommon;
$lang->repo->module = 'Module';
$lang->repo->project = $lang->projectCommon;
$lang->repo->type = 'Type';
$lang->repo->assign = 'AssignTo';
$lang->repo->title = 'Title';
+1 -2
View File
@@ -2,7 +2,7 @@
$lang->repo->common = 'Référentiel';
$lang->repo->browse = 'Aff';
$lang->repo->viewRevision = 'Aff Modifs';
$lang->repo->program = 'Program';
$lang->repo->project = 'Project';
$lang->repo->create = 'Créer';
$lang->repo->createAction = 'Créer Ref';
$lang->repo->maintain = 'Liste Ref';
@@ -30,7 +30,6 @@ $lang->repo->addComment = 'Ajout Comment';
$lang->repo->product = $lang->productCommon;
$lang->repo->module = 'Module';
$lang->repo->project = $lang->projectCommon;
$lang->repo->type = 'Type';
$lang->repo->assign = 'Assigner à';
$lang->repo->title = 'Titre';
+1 -2
View File
@@ -2,7 +2,7 @@
$lang->repo->common = 'Repo';
$lang->repo->browse = 'Xem';
$lang->repo->viewRevision = 'Xem Revision';
$lang->repo->program = 'Program';
$lang->repo->project = 'Project';
$lang->repo->create = 'Tạo';
$lang->repo->createAction = 'Tạo Repo';
$lang->repo->maintain = 'Repo danh sách';
@@ -30,7 +30,6 @@ $lang->repo->addComment = 'Thêm nhận xét';
$lang->repo->product = $lang->productCommon;
$lang->repo->module = 'Module';
$lang->repo->project = $lang->projectCommon;
$lang->repo->type = 'Loại';
$lang->repo->assign = 'Giao cho';
$lang->repo->title = 'Tiêu đề';
+1 -2
View File
@@ -2,7 +2,7 @@
$lang->repo->common = '代码';
$lang->repo->browse = '浏览';
$lang->repo->viewRevision = '查看修订';
$lang->repo->program = '所属项目';
$lang->repo->project = '所属项目';
$lang->repo->create = '创建';
$lang->repo->createAction = '创建版本库';
$lang->repo->maintain = '版本库列表';
@@ -30,7 +30,6 @@ $lang->repo->addComment = '添加评论';
$lang->repo->product = $lang->productCommon;
$lang->repo->module = '模块';
$lang->repo->project = $lang->projectCommon;
$lang->repo->type = '类型';
$lang->repo->assign = '指派';
$lang->repo->title = '标题';
+2 -2
View File
@@ -25,8 +25,8 @@
<form id='repoForm' method='post' class='form-ajax'>
<table class='table table-form'>
<tr>
<th><?php echo $lang->repo->program; ?></th>
<td class='required'><?php echo html::select('PRJ[]', $programs, $this->session->PRJ, "class='form-control chosen' multiple"); ?></td>
<th><?php echo $lang->repo->project; ?></th>
<td class='required'><?php echo html::select('PRJ[]', $projects, $this->session->PRJ, "class='form-control chosen' multiple"); ?></td>
</tr>
<tr>
<th class='thWidth'><?php echo $lang->repo->type; ?></th>
+2 -2
View File
@@ -27,8 +27,8 @@
<form id='repoForm' method='post' class='form-ajax'>
<table class='table table-form'>
<tr>
<th><?php echo $lang->repo->program; ?></th>
<td class='required'><?php echo html::select('PRJ[]', $programs, $repo->PRJ, "class='form-control chosen' multiple"); ?></td>
<th><?php echo $lang->repo->project; ?></th>
<td class='required'><?php echo html::select('PRJ[]', $projects, $repo->PRJ, "class='form-control chosen' multiple"); ?></td>
</tr>
<tr>
<th class='thWidth'><?php echo $lang->repo->type; ?></th>