diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-03-19 15:25:48 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-03-19 15:25:48 -0400 |
commit | 0a18e28db4d7b9984e2caf6612094712e75e0458 (patch) | |
tree | f378e1253f12e5bae7917cc1593a2c5fa3bca364 /app/Template/board | |
parent | da10f3cf960560e1c9f85b1cfde0b4836d57a55c (diff) |
Swap category and avatar on the card
Diffstat (limited to 'app/Template/board')
-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' : '' ?>"> |