diff options
Diffstat (limited to 'app/Template/board/task_private.php')
-rw-r--r-- | app/Template/board/task_private.php | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/app/Template/board/task_private.php b/app/Template/board/task_private.php index 01da46db..3201d4e2 100644 --- a/app/Template/board/task_private.php +++ b/app/Template/board/task_private.php @@ -32,20 +32,21 @@ </div> <?php else: ?> <div class="task-board-expanded"> - <div class="task-board-saving-icon" style="display: none;"><i class="fa fa-spinner fa-pulse fa-2x"></i></div> - <?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?> - <?= $this->render('task/dropdown', array('task' => $task)) ?> - <?php else: ?> - <strong><?= '#'.$task['id'] ?></strong> - <?php endif ?> + <div class="task-board-header"> + <?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?> + <?= $this->render('task/dropdown', array('task' => $task)) ?> + <?php else: ?> + <strong><?= '#'.$task['id'] ?></strong> + <?php endif ?> - <?php if ($task['reference']): ?> - <span class="task-board-reference" title="<?= t('Reference') ?>"> - (<?= $task['reference'] ?>) - </span> - <?php endif ?> + <?php if (! empty($task['owner_id'])): ?> + <span class="task-board-assignee"> + <?= $this->text->e($task['assignee_name'] ?: $task['assignee_username']) ?> + </span> + <?php endif ?> - <?= $this->render('board/task_avatar', array('task' => $task)) ?> + <?= $this->render('board/task_avatar', array('task' => $task)) ?> + </div> <?= $this->hook->render('template:board:private:task:before-title', array('task' => $task)) ?> <div class="task-board-title"> @@ -53,6 +54,8 @@ </div> <?= $this->hook->render('template:board:private:task:after-title', array('task' => $task)) ?> + <div class="task-board-saving-icon" style="display: none;"><i class="fa fa-spinner fa-pulse fa-2x"></i></div> + <?= $this->render('board/task_footer', array( 'task' => $task, 'not_editable' => $not_editable, |