summaryrefslogtreecommitdiff
path: root/templates/board_index.php
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-02-22 13:37:06 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-02-22 13:37:06 -0500
commita1923d3d7f9276e859d6fd6bee339f0ea00f6544 (patch)
tree84caca943de5d0e016455ea2f6896d0b697fdf05 /templates/board_index.php
parentfd28d50597d4f255ba9514e0fc03c8cb67c86f22 (diff)
Add a page to display completed tasks and add the completion date column for tasks
Diffstat (limited to 'templates/board_index.php')
-rw-r--r--templates/board_index.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/templates/board_index.php b/templates/board_index.php
index 777d601b..abd511b7 100644
--- a/templates/board_index.php
+++ b/templates/board_index.php
@@ -1,7 +1,9 @@
<section id="main">
- <div class="page-header">
- <h2><?= t('Project "%s"', $current_project_name) ?></h2>
+ <div class="page-header board">
+ <h2>
+ <?= t('Project "%s"', $current_project_name) ?>
+ </h2>
<ul>
<?php foreach ($projects as $project_id => $project_name): ?>
<?php if ($project_id != $current_project_id): ?>
@@ -13,6 +15,12 @@
</ul>
</div>
+ <div class="project-menu">
+ <ul>
+ <li><a href="?controller=project&amp;action=tasks&amp;project_id=<?= $current_project_id ?>"><?= t('completed tasks') ?></a></li>
+ </ul>
+ </div>
+
<table id="board" data-project-id="<?= $current_project_id ?>">
<tr>
<?php $column_with = round(100 / count($columns), 2); ?>