From 3b3e8033696e408e699b911c042361d62ce7b7ac Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 19 Feb 2017 17:08:00 -0500 Subject: Redesign task list view --- app/Template/task_list/task_avatars.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/Template/task_list/task_avatars.php (limited to 'app/Template/task_list/task_avatars.php') diff --git a/app/Template/task_list/task_avatars.php b/app/Template/task_list/task_avatars.php new file mode 100644 index 00000000..6a43b1a6 --- /dev/null +++ b/app/Template/task_list/task_avatars.php @@ -0,0 +1,20 @@ + +
+ user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?> + class="task-board-change-assignee" + data-url="url->href('TaskModificationController', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"> + + class="task-board-assignee"> + + avatar->small( + $task['owner_id'], + $task['assignee_username'], + $task['assignee_name'], + $task['assignee_email'], + $task['assignee_avatar_path'], + 'avatar-inline' + ) ?>text->e($task['assignee_name'] ?: $task['assignee_username']) ?> + +
+ \ No newline at end of file -- cgit v1.2.3