* fix execution not showing members correctly.
This commit is contained in:
@@ -21,7 +21,8 @@ class project extends control
|
||||
|
||||
$this->view->kanbanList = array_values($kanbanList);
|
||||
$this->view->memberGroup = $this->execution->getMembersByIdList(array_keys($kanbanList));
|
||||
$this->view->usersAvatar = $this->loadModel('user')->getAvatarPairs();
|
||||
$this->view->users = $this->loadModel('user')->getPairs('noclosed|nodeleted');
|
||||
$this->view->usersAvatar = $this->user->getAvatarPairs();
|
||||
$this->view->projectID = $projectID;
|
||||
$this->view->status = $status;
|
||||
$this->view->executionActions = $executionActions;
|
||||
|
||||
@@ -77,10 +77,10 @@
|
||||
</div>
|
||||
<div class="kanban-footer">
|
||||
<div class='kanban-members pull-left'>
|
||||
<?php $teams = explode(',', trim($kanban->team, ','));?>
|
||||
<?php foreach($teams as $account):?>
|
||||
<div title="<?php echo zget($users, $account);?>">
|
||||
<?php echo html::smallAvatar(array('avatar' => zget($usersAvatar, $account), 'account' => $account)); ?>
|
||||
<?php $teams = $memberGroup[$kanban->id];?>
|
||||
<?php foreach($teams as $member):?>
|
||||
<div title="<?php echo zget($users, $member->account);?>">
|
||||
<?php echo html::smallAvatar(array('avatar' => zget($usersAvatar, $member->account), 'account' => $member->account)); ?>
|
||||
</div>
|
||||
<?php endforeach;?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user