From bb9e7916574bd7e21550bf7505757fccae6cbdd0 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 11 Mar 2017 18:08:25 -0500 Subject: Use same layout as task listing for task search --- app/Template/task_list/header.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'app/Template/task_list') diff --git a/app/Template/task_list/header.php b/app/Template/task_list/header.php index 6501a919..7704e2df 100644 --- a/app/Template/task_list/header.php +++ b/app/Template/task_list/header.php @@ -7,10 +7,12 @@
- user->hasSubtaskListActivated()): ?> - url->icon('tasks', t('Hide subtasks'), 'TaskListController', 'show', array('project_id' => $project['id'], 'hide_subtasks' => 1)) ?> - - url->icon('tasks', t('Show subtasks'), 'TaskListController', 'show', array('project_id' => $project['id'], 'show_subtasks' => 1)) ?> + + user->hasSubtaskListActivated()): ?> + url->icon('tasks', t('Hide subtasks'), 'TaskListController', 'show', array('project_id' => $project['id'], 'hide_subtasks' => 1)) ?> + + url->icon('tasks', t('Show subtasks'), 'TaskListController', 'show', array('project_id' => $project['id'], 'show_subtasks' => 1)) ?> + render('task_list/sort_menu', array('paginator' => $paginator)) ?> -- cgit v1.2.3