* adjust for notice manage task team.

This commit is contained in:
wangyidong
2022-09-13 10:35:56 +08:00
parent f89811bc86
commit d88700a2e7
5 changed files with 12 additions and 1 deletions
+1
View File
@@ -236,6 +236,7 @@ $lang->task->confirmTransfer = '"Left Hour" is 0,Do you want to assi
$lang->task->noticeTaskStart = '"Cost Hour" and "Left Hour" cannot be 0 at the same time.';
$lang->task->noticeLinkStory = "Es wurde keine Story verknüpft. Sie können %s für dieses Projekt, anschließend %s.";
$lang->task->noticeSaveRecord = 'Ihre Stunden wurden nicht gespeichrt. Bitte erst speichern.';
$lang->task->noticeManageTeam = 'Task status is %s, can not manage team.';
$lang->task->commentActions = '%s. %s, kommentiert von <strong>%s</strong>.';
$lang->task->deniedNotice = 'Nur %s kann die Aufgabe %s.';
$lang->task->deniedStatusNotice = 'The task status is %s, the effort cannot be maintained.';
+1
View File
@@ -236,6 +236,7 @@ $lang->task->confirmTransfer = '"Left Hour" is 0,Do you want to assi
$lang->task->noticeTaskStart = '"Cost Hour" and "Left Hour" cannot be 0 at the same time.';
$lang->task->noticeLinkStory = "No story has been linked. You can %s for this project, then %s.";
$lang->task->noticeSaveRecord = 'Your Hour is not saved. Please save it first.';
$lang->task->noticeManageTeam = 'Task status is %s, can not manage team.';
$lang->task->commentActions = '%s. %s, commented by <strong>%s</strong>.';
$lang->task->deniedNotice = 'Only the %s can %s the task.';
$lang->task->deniedStatusNotice = 'The task status is %s, the effort cannot be maintained.';
+1
View File
@@ -236,6 +236,7 @@ $lang->task->confirmTransfer = '"Left Hour" is 0,Do you want to assi
$lang->task->noticeTaskStart = '"Cost Hour" and "Left Hour" cannot be 0 at the same time.';
$lang->task->noticeLinkStory = "Aucune Story n'est associée. Vous pouvez %s pour ce projet, alors %s.";
$lang->task->noticeSaveRecord = "Votre temps n'a pas été sauvé. Enregistrez-le d'abord.";
$lang->task->noticeManageTeam = 'Task status is %s, can not manage team.';
$lang->task->commentActions = '%s. %s, commenté par <strong>%s</strong>.';
$lang->task->deniedNotice = 'Seulement le %s peut %s la tâche.';
$lang->task->deniedStatusNotice = 'The task status is %s, the effort cannot be maintained.';
+2 -1
View File
@@ -236,6 +236,7 @@ $lang->task->confirmTransfer = '"当前剩余"为0,任务将被指
$lang->task->noticeTaskStart = '"总计消耗"和"预计剩余"不能同时为0';
$lang->task->noticeLinkStory = "没有可关联的相关{$lang->SRCommon},您可以为当前项目%s,然后%s";
$lang->task->noticeSaveRecord = '您有尚未保存的工时记录,请先将其保存。';
$lang->task->noticeManageTeam = '任务状态是%s,不能维护团队';
$lang->task->commentActions = '%s. %s, 由 <strong>%s</strong> 添加备注。';
$lang->task->deniedNotice = '当前任务只有%s才可以%s。';
$lang->task->deniedStatusNotice = '当前任务状态是%s,不能维护日志。';
@@ -253,7 +254,7 @@ $lang->task->error->recordMinus = '工时不能为负数';
$lang->task->error->leftNumber = '"预计剩余"必须为数字';
$lang->task->error->recordMinus = '工时不能为负数';
$lang->task->error->consumedSmall = '"总计消耗"必须大于之前消耗';
$lang->task->error->consumedThisTime = '请填写"工时"';
$lang->task->error->consumedThisTime = '请填写"消耗"';
$lang->task->error->left = '请填写"剩余"';
$lang->task->error->work = '"备注"必须小于%d个字符';
$lang->task->error->teamMember = '团队成员必须不少于2人';
+7
View File
@@ -81,6 +81,13 @@ if($task->mode == 'multi' and $app->rawMethod == 'activate') $hourDisabled = fal
<?php if(isset($task->status)):?>
<?php js::set('taskStatus', $task->status);?>
<?php js::set('totalLeftError', sprintf($this->lang->task->error->leftEmptyAB, $this->lang->task->statusList[$task->status]));?>
<?php if($newRowCount == 0 and $app->rawMethod == 'edit'):?>
<tr>
<td colspan='3'>
<div class='alert alert-info'><?php printf($lang->task->noticeManageTeam, zget($lang->task->statusList, $task->status));?></div>
</td>
</tr>
<?php endif;?>
<?php endif;?>
<script>
$(document).ready(function()