diff options
Diffstat (limited to 'app/Template/board/task_footer.php')
-rw-r--r-- | app/Template/board/task_footer.php | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php index f1b97c78..7d651a79 100644 --- a/app/Template/board/task_footer.php +++ b/app/Template/board/task_footer.php @@ -1,3 +1,23 @@ +<?php if (! empty($task['owner_id'])): ?> + <div class="task-board-avatars"> + <span + <?php if ($this->user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?> + class="task-board-assignee task-board-change-assignee" + data-url="<?= $this->url->href('BoardPopover', 'changeAssignee', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"> + <?php else: ?> + class="task-board-assignee"> + <?php endif ?> + <?= $this->avatar->small( + $task['owner_id'], + $task['assignee_username'], + $task['assignee_name'], + $task['assignee_email'], + 'avatar-inline' + ) ?> + </span> + </div> +<?php endif ?> + <?php if (! empty($task['category_id'])): ?> <div class="task-board-category-container"> <span class="task-board-category"> @@ -18,26 +38,6 @@ </div> <?php endif ?> -<?php if (! empty($task['owner_id'])): ?> -<div class="task-board-avatars"> - <span - <?php if ($this->user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?> - class="task-board-assignee task-board-change-assignee" - data-url="<?= $this->url->href('BoardPopover', 'changeAssignee', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"> - <?php else: ?> - class="task-board-assignee"> - <?php endif ?> - <?= $this->avatar->small( - $task['owner_id'], - $task['assignee_username'], - $task['assignee_name'], - $task['assignee_email'], - 'avatar-inline' - ) ?> - </span> -</div> -<?php endif ?> - <div class="task-board-icons"> <?php if (! empty($task['date_due'])): ?> <span class="task-board-date <?= time() > $task['date_due'] ? 'task-board-date-overdue' : '' ?>"> |