diff options
Diffstat (limited to 'app/Template/search')
-rw-r--r-- | app/Template/search/activity.php | 4 | ||||
-rw-r--r-- | app/Template/search/index.php | 4 | ||||
-rw-r--r-- | app/Template/search/results.php | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/app/Template/search/activity.php b/app/Template/search/activity.php index 60362215..9abc7d7e 100644 --- a/app/Template/search/activity.php +++ b/app/Template/search/activity.php @@ -3,7 +3,7 @@ <ul> <li> <i class="fa fa-search fa-fw"></i> - <?= $this->url->link(t('Search tasks'), 'search', 'index') ?> + <?= $this->url->link(t('Search tasks'), 'SearchController', 'index') ?> </li> </ul> </div> @@ -36,4 +36,4 @@ <?= $this->render('event/events', array('events' => $events)) ?> <?php endif ?> -</section>
\ No newline at end of file +</section> diff --git a/app/Template/search/index.php b/app/Template/search/index.php index d5d07ed6..bc528af7 100644 --- a/app/Template/search/index.php +++ b/app/Template/search/index.php @@ -3,7 +3,7 @@ <ul> <li> <i class="fa fa-search fa-fw"></i> - <?= $this->url->link(t('Activity stream search'), 'search', 'activity') ?> + <?= $this->url->link(t('Activity stream search'), 'SearchController', 'activity') ?> </li> </ul> </div> @@ -40,4 +40,4 @@ )) ?> <?php endif ?> -</section>
\ No newline at end of file +</section> diff --git a/app/Template/search/results.php b/app/Template/search/results.php index 79df3544..8376b9e8 100644 --- a/app/Template/search/results.php +++ b/app/Template/search/results.php @@ -13,10 +13,10 @@ <?php foreach ($paginator->getCollection() as $task): ?> <tr> <td> - <?= $this->url->link($this->text->e($task['project_name']), 'board', 'show', array('project_id' => $task['project_id'])) ?> + <?= $this->url->link($this->text->e($task['project_name']), 'BoardViewController', 'show', array('project_id' => $task['project_id'])) ?> </td> <td class="task-table color-<?= $task['color_id'] ?>"> - <?= $this->url->link('#'.$this->text->e($task['id']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?> + <?= $this->url->link('#'.$this->text->e($task['id']), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?> </td> <td> <?= $this->text->e($task['swimlane_name'] ?: $task['default_swimlane']) ?> @@ -28,7 +28,7 @@ <?= $this->text->e($task['category_name']) ?> </td> <td> - <?= $this->url->link($this->text->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?> + <?= $this->url->link($this->text->e($task['title']), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?> </td> <td> <?php if ($task['assignee_username']): ?> @@ -41,7 +41,7 @@ <?= $this->dt->date($task['date_due']) ?> </td> <td> - <?php if ($task['is_active'] == \Kanboard\Model\Task::STATUS_OPEN): ?> + <?php if ($task['is_active'] == \Kanboard\Model\TaskModel::STATUS_OPEN): ?> <?= t('Open') ?> <?php else: ?> <?= t('Closed') ?> |