diff --git a/app/Template/search/activity.php b/app/Template/search/activity.php index 2582162b5..6be346b6f 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 3fbfc3148..f4d6d1db5 100644 --- a/app/Template/search/results.php +++ b/app/Template/search/results.php @@ -1,7 +1,7 @@ - +
- + @@ -12,12 +12,16 @@ getCollection() as $task): ?> + -
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']) ?>