From 5710bab97198234afced474250f20e24332fd6fc Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 18 Feb 2017 16:59:06 -0500 Subject: Improve search tables --- app/Template/search/activity.php | 4 +++- app/Template/search/results.php | 14 +++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'app/Template/search') diff --git a/app/Template/search/activity.php b/app/Template/search/activity.php index 2582162b..6be346b6 100644 --- a/app/Template/search/activity.php +++ b/app/Template/search/activity.php @@ -37,7 +37,9 @@

- render('event/events', array('events' => $events)) ?> +
+ render('event/events', array('events' => $events)) ?> +
diff --git a/app/Template/search/results.php b/app/Template/search/results.php index 3fbfc314..f4d6d1db 100644 --- a/app/Template/search/results.php +++ b/app/Template/search/results.php @@ -1,7 +1,7 @@ - +
- + @@ -12,12 +12,16 @@ getCollection() as $task): ?> + - -- cgit v1.2.3
order(t('Project'), 'tasks.project_id') ?> order(t('Id'), 'tasks.id') ?>order(t('Project'), 'tasks.project_id') ?> order(t('Swimlane'), 'tasks.swimlane_id') ?> order(t('Column'), 'tasks.column_id') ?> order(t('Category'), 'tasks.category_id') ?>
+ user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?> + render('task/dropdown', array('task' => $task)) ?> + + # + + url->link($this->text->e($task['project_name']), 'BoardViewController', 'show', array('project_id' => $task['project_id'])) ?> - url->link('#'.$this->text->e($task['id']), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?> - text->e($task['swimlane_name']) ?>