From 63a5bbafea58ffcf7b018d8e36569543c7dbe953 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 19 Mar 2016 14:36:16 -0400 Subject: Show avatar on the cards --- app/Template/board/task_footer.php | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'app/Template/board/task_footer.php') diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php index cb1f1b0d..f5614f1d 100644 --- a/app/Template/board/task_footer.php +++ b/app/Template/board/task_footer.php @@ -18,6 +18,26 @@ + +
+ user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?> +
+ +
+ + avatar->small( + $task['owner_id'], + $task['assignee_username'], + $task['assignee_name'], + $task['assignee_email'], + 'avatar-inline' + ) ?> +
+
+ +
@@ -59,8 +79,6 @@ - - hook->render('template:board:task:footer', array('task' => $task)) ?> text->e($task['score']) ?> @@ -78,3 +96,5 @@ task->formatPriority($project, $task) ?>
+ +hook->render('template:board:task:footer', array('task' => $task)) ?> -- cgit v1.2.3