* Modify the rights of restart in multi-user task.
This commit is contained in:
@@ -108,7 +108,7 @@ $lang->task->parent = '父任务';
|
||||
$lang->task->parentAB = '父';
|
||||
$lang->task->lblPri = 'P';
|
||||
$lang->task->lblHour = '(h)';
|
||||
$lang->task->deniedNotice = '此任务只允许由团队第一人开始。';
|
||||
$lang->task->deniedNotice = '当前用户无【%s】权限';
|
||||
|
||||
$lang->task->ditto = '同上';
|
||||
$lang->task->dittoNotice = "该任务与上一任务不属于同一项目!";
|
||||
|
||||
@@ -14,11 +14,12 @@
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<?php include '../../common/view/datepicker.html.php';?>
|
||||
<?php js::set('confirmFinish', $lang->task->confirmFinish);?>
|
||||
<?php if(!empty($task->team) && key($task->team) != $this->app->user->account):?>
|
||||
<!-- IF it is multi-task, the suspened can only be restarted by the current user who it is assigned to.-->
|
||||
<?php if(!empty($task->team) && $task->assignedTo != $this->app->user->account):?>
|
||||
<div class="alert with-icon">
|
||||
<i class="icon-info-sign"></i>
|
||||
<div class="content">
|
||||
<p><?php echo $lang->task->deniedNotice;?></p>
|
||||
<p><?php echo sprintf($lang->task->deniedNotice, $lang->task->start);?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php else:?>
|
||||
|
||||
Reference in New Issue
Block a user