From fbc84969de8178dfb513acc0f1e658addc8b15a6 Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Thu, 21 Sep 2017 22:26:21 +0200 Subject: [PATCH] Fixed the color in block of completed kanban tasks --- .../views-view-list--storm-projects-kanban--block-6.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/zuitedesk/templates/views-view-list--storm-projects-kanban--block-6.tpl.php b/themes/zuitedesk/templates/views-view-list--storm-projects-kanban--block-6.tpl.php index 511975c..05745fa 100644 --- a/themes/zuitedesk/templates/views-view-list--storm-projects-kanban--block-6.tpl.php +++ b/themes/zuitedesk/templates/views-view-list--storm-projects-kanban--block-6.tpl.php @@ -18,7 +18,7 @@ global $user; $task_class = ''; - $task_assigned = $view->render_field('nid_1', $id); + $task_assigned = $view->render_field('nid_1', count($rows) - 1 - $id); if (!empty($task_assigned)) { if ($user->stormperson_nid == $task_assigned) { $task_class = ' task-own';