summaryrefslogtreecommitdiff
path: root/app/Template/board/task_private.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-19 14:36:16 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-19 14:36:16 -0400
commit63a5bbafea58ffcf7b018d8e36569543c7dbe953 (patch)
treebabd78cb695b5630a7075fdd6d51968eebcac9e6 /app/Template/board/task_private.php
parent2e320ceeadf5e134352a9bb83efff93964a40f81 (diff)
Show avatar on the cards
Diffstat (limited to 'app/Template/board/task_private.php')
-rw-r--r--app/Template/board/task_private.php20
1 files changed, 1 insertions, 19 deletions
diff --git a/app/Template/board/task_private.php b/app/Template/board/task_private.php
index 234480cb..a066ad1e 100644
--- a/app/Template/board/task_private.php
+++ b/app/Template/board/task_private.php
@@ -44,24 +44,6 @@
</span>
<?php endif ?>
- <?php if (! empty($task['owner_id'])): ?>
- <span class="task-board-user <?= $this->user->isCurrentUser($task['owner_id']) ? 'task-board-current-user' : '' ?>">
- <?php if ($this->user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?>
- <?= $this->url->link(
- $task['assignee_name'] ?: $task['assignee_username'],
- 'BoardPopover',
- 'changeAssignee',
- array('task_id' => $task['id'], 'project_id' => $task['project_id']),
- false,
- 'popover',
- t('Change assignee')
- ) ?>
- <?php else: ?>
- <?= $this->text->e($task['assignee_name'] ?: $task['assignee_username']) ?>
- <?php endif ?>
- </span>
- <?php endif ?>
-
<?php if ($task['is_active'] == 1): ?>
<div class="task-board-days">
<span title="<?= t('Task age in days')?>" class="task-days-age"><?= $this->dt->age($task['date_creation']) ?></span>
@@ -76,7 +58,7 @@
<div class="task-board-title">
<?= $this->url->link($this->text->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?>
</div>
-
+
<?= $this->hook->render('template:board:private:task:after-title', array('task' => $task)) ?>
<?= $this->render('board/task_footer', array(