summaryrefslogtreecommitdiff
path: root/app/Template/project/tasks.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project/tasks.php')
-rw-r--r--app/Template/project/tasks.php24
1 files changed, 18 insertions, 6 deletions
diff --git a/app/Template/project/tasks.php b/app/Template/project/tasks.php
index 6ca24acf..b22746f9 100644
--- a/app/Template/project/tasks.php
+++ b/app/Template/project/tasks.php
@@ -1,20 +1,32 @@
<section id="main">
<div class="page-header">
<ul>
- <li><i class="fa fa-table fa-fw"></i><?= $this->a(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?></li>
- <li><i class="fa fa-search fa-fw"></i><?= $this->a(t('Search'), 'project', 'search', array('project_id' => $project['id'])) ?></li>
- <li><i class="fa fa-dashboard fa-fw"></i><?= $this->a(t('Activity'), 'project', 'activity', array('project_id' => $project['id'])) ?></li>
+ <li>
+ <i class="fa fa-table fa-fw"></i>
+ <?= $this->a(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?>
+ </li>
+ <li>
+ <i class="fa fa-calendar fa-fw"></i>
+ <?= $this->a(t('Calendar'), 'calendar', 'show', array('project_id' => $project['id'])) ?>
+ </li>
+ <li>
+ <i class="fa fa-search fa-fw"></i>
+ <?= $this->a(t('Search'), 'project', 'search', array('project_id' => $project['id'])) ?>
+ </li>
+ <li>
+ <i class="fa fa-dashboard fa-fw"></i>
+ <?= $this->a(t('Activity'), 'project', 'activity', array('project_id' => $project['id'])) ?>
+ </li>
</ul>
</div>
<section>
- <?php if (empty($tasks)): ?>
+ <?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('No task') ?></p>
<?php else: ?>
<?= $this->render('task/table', array(
- 'tasks' => $tasks,
+ 'paginator' => $paginator,
'categories' => $categories,
'columns' => $columns,
- 'pagination' => $pagination,
)) ?>
<?php endif ?>
</section>