diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/app/overview.php | 6 | ||||
-rw-r--r-- | app/Template/app/projects.php | 2 | ||||
-rw-r--r-- | app/Template/app/subtasks.php | 2 | ||||
-rw-r--r-- | app/Template/app/tasks.php | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/app/overview.php b/app/Template/app/overview.php index 1b160496..ebb3b412 100644 --- a/app/Template/app/overview.php +++ b/app/Template/app/overview.php @@ -8,6 +8,6 @@ <?= $this->render('app/filters_helper') ?> </div> -<?= $this->render('app/projects', array('paginator' => $project_paginator)) ?> -<?= $this->render('app/tasks', array('paginator' => $task_paginator)) ?> -<?= $this->render('app/subtasks', array('paginator' => $subtask_paginator)) ?>
\ No newline at end of file +<?= $this->render('app/projects', array('paginator' => $project_paginator, 'user' => $user)) ?> +<?= $this->render('app/tasks', array('paginator' => $task_paginator, 'user' => $user)) ?> +<?= $this->render('app/subtasks', array('paginator' => $subtask_paginator, 'user' => $user)) ?>
\ No newline at end of file diff --git a/app/Template/app/projects.php b/app/Template/app/projects.php index f9267e39..82a41123 100644 --- a/app/Template/app/projects.php +++ b/app/Template/app/projects.php @@ -1,5 +1,5 @@ <div class="page-header"> - <h2><?= t('My projects') ?> (<?= $paginator->getTotal() ?>)</h2> + <h2><?= $this->url->link(t('My projects'), 'app', 'projects', array('user_id' => $user['id'])) ?> (<?= $paginator->getTotal() ?>)</h2> </div> <?php if ($paginator->isEmpty()): ?> <p class="alert"><?= t('Your are not member of any project.') ?></p> diff --git a/app/Template/app/subtasks.php b/app/Template/app/subtasks.php index ad7402bd..b4c87bab 100644 --- a/app/Template/app/subtasks.php +++ b/app/Template/app/subtasks.php @@ -1,5 +1,5 @@ <div class="page-header"> - <h2><?= t('My subtasks') ?> (<?= $paginator->getTotal() ?>)</h2> + <h2><?= $this->url->link(t('My subtasks'), 'app', 'subtasks', array('user_id' => $user['id'])) ?> (<?= $paginator->getTotal() ?>)</h2> </div> <?php if ($paginator->isEmpty()): ?> <p class="alert"><?= t('There is nothing assigned to you.') ?></p> diff --git a/app/Template/app/tasks.php b/app/Template/app/tasks.php index 3712750b..1213e405 100644 --- a/app/Template/app/tasks.php +++ b/app/Template/app/tasks.php @@ -1,5 +1,5 @@ <div class="page-header"> - <h2><?= t('My tasks') ?> (<?= $paginator->getTotal() ?>)</h2> + <h2><?= $this->url->link(t('My tasks'), 'app', 'tasks', array('user_id' => $user['id'])) ?> (<?= $paginator->getTotal() ?>)</h2> </div> <?php if ($paginator->isEmpty()): ?> <p class="alert"><?= t('There is nothing assigned to you.') ?></p> |