diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-10-11 21:11:10 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-10-11 21:11:10 -0400 |
commit | acba6839a6082e3e3800a733f8baea7c843fc02e (patch) | |
tree | e2847dcd13d9ccc3d8f0f6f936a5776df852e11b /app/Templates/subtask_show.php | |
parent | a8418afdebe92dde495bc5010645779c73939b7b (diff) |
Add 3 new fields for tasks: start date, time estimated and time spent
Diffstat (limited to 'app/Templates/subtask_show.php')
-rw-r--r-- | app/Templates/subtask_show.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/app/Templates/subtask_show.php b/app/Templates/subtask_show.php index 112262bd..f1b0466f 100644 --- a/app/Templates/subtask_show.php +++ b/app/Templates/subtask_show.php @@ -5,14 +5,6 @@ <h2><?= t('Sub-Tasks') ?></h2> </div> - <?php - - $total_spent = 0; - $total_estimated = 0; - $total_remaining = 0; - - ?> - <table class="subtasks-table"> <tr> <th width="40%"><?= t('Title') ?></th> @@ -64,11 +56,6 @@ </td> <?php endif ?> </tr> - <?php - $total_estimated += $subtask['time_estimated']; - $total_spent += $subtask['time_spent']; - $total_remaining = $total_estimated - $total_spent; - ?> <?php endforeach ?> </table> @@ -81,14 +68,5 @@ </form> <?php endif ?> - <div class="subtasks-time-tracking"> - <h4><?= t('Time tracking') ?></h4> - <ul> - <li><?= t('Estimate:') ?> <strong><?= Helper\escape($total_estimated) ?></strong> <?= t('hours') ?></li> - <li><?= t('Spent:') ?> <strong><?= Helper\escape($total_spent) ?></strong> <?= t('hours') ?></li> - <li><?= t('Remaining:') ?> <strong><?= Helper\escape($total_remaining > 0 ? $total_remaining : 0) ?></strong> <?= t('hours') ?></li> - </ul> - </div> - </div> <?php endif ?> |