From 2153875c90edc92041508d12f7094d7876614dbc Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Thu, 21 Sep 2017 21:51:41 +0200 Subject: [PATCH] Reverse the order of completed tasks in kanban block --- ...st--storm-projects-kanban--block-6.tpl.php | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 themes/zuitedesk/templates/views-view-list--storm-projects-kanban--block-6.tpl.php 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 new file mode 100644 index 0000000..511975c --- /dev/null +++ b/themes/zuitedesk/templates/views-view-list--storm-projects-kanban--block-6.tpl.php @@ -0,0 +1,35 @@ + +
+ +

+ + <> + $row): ?> + render_field('nid_1', $id); + if (!empty($task_assigned)) { + if ($user->stormperson_nid == $task_assigned) { + $task_class = ' task-own'; + } elseif (module_exists('stormteam') && stormteam_user_belongs_to_team($task_assigned, $user->stormperson_nid)) { + $task_class = ' task-own'; + } else { + $task_class = ' task-assigned'; + } + } + ?> +
  • + + > +