@@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;?>">
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user