diff options
Diffstat (limited to 'app/Template/project_tasks.php')
| -rw-r--r-- | app/Template/project_tasks.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/Template/project_tasks.php b/app/Template/project_tasks.php new file mode 100644 index 00000000..7b6f2d9c --- /dev/null +++ b/app/Template/project_tasks.php @@ -0,0 +1,23 @@ +<section id="main"> + <div class="page-header"> + <h2><?= t('Completed tasks for "%s"', $project['name']) ?><span id="page-counter"> (<?= $nb_tasks ?>)</span></h2> + <ul> + <li><a href="?controller=board&action=show&project_id=<?= $project['id'] ?>"><?= t('Back to the board') ?></a></li> + <li><a href="?controller=project&action=search&project_id=<?= $project['id'] ?>"><?= t('Search') ?></a></li> + <li><a href="?controller=project&action=activity&project_id=<?= $project['id'] ?>"><?= t('Activity') ?></a></li> + <li><a href="?controller=project&action=index"><?= t('List of projects') ?></a></li> + </ul> + </div> + <section> + <?php if (empty($tasks)): ?> + <p class="alert"><?= t('No task') ?></p> + <?php else: ?> + <?= Helper\template('task_table', array( + 'tasks' => $tasks, + 'categories' => $categories, + 'columns' => $columns, + 'pagination' => $pagination, + )) ?> + <?php endif ?> + </section> +</section>
\ No newline at end of file |
