This commit is contained in:
liumengyi
2022-01-17 16:13:45 +08:00
parent 54ec9e1429
commit 00f85a4ee8
4 changed files with 4 additions and 5 deletions
-1
View File
@@ -2415,7 +2415,6 @@ class execution extends control
$this->executeHooks($executionID);
if($this->viewType == 'json') return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess));
if($execution->type == 'kanban') return print(js::locate($this->createLink('execution', 'all'), 'parent'));
return print(js::reload('parent'));
}
}
+1
View File
@@ -530,6 +530,7 @@ class project extends control
$project = $this->project->getByID($projectID);
$programID = $project->parent;
$this->project->setMenu($projectID);
if($project->model == 'kanban') unset($this->lang->project->authList['reset']);
if($_POST)
{
+2 -2
View File
@@ -84,13 +84,13 @@
<div class='kanban-members pull-left'>
<?php $count = 0;?>
<?php foreach($members as $member):?>
<?php if($count > 2) break;?>
<?php if($count > 1) break;?>
<?php $count ++;?>
<div title="<?php echo $member->realname;?>">
<?php echo html::smallAvatar(array('avatar' => $usersAvatar[$member->account], 'account' => $member->account)); ?>
</div>
<?php endforeach;?>
<?php if(count($members) > 4):?>
<?php if(count($members) > 3):?>
<?php echo '<span>…</span>';?>
<?php $lastMember = end($members);?>
<div title="<?php echo $lastMember->realname;?>">
+1 -2
View File
@@ -115,8 +115,7 @@ class story extends control
}
else
{
$cell = $this->dao->select('lane,`column`')->from(TABLE_KANBANCELL)->where('type')->eq('story')->andWhere('kanban')->eq($objectID)->fetch();
$this->loadModel('kanban')->addKanbanCell($objectID, $cell->lane, $cell->column, 'story', $storyID);
$this->loadModel('kanban')->updateLane($objectID, 'story');
}
}
if($storyResult['status'] == 'exists')