summaryrefslogtreecommitdiff
path: root/app/Templates/subtask_show.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-11 21:11:10 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-11 21:11:10 -0400
commitacba6839a6082e3e3800a733f8baea7c843fc02e (patch)
treee2847dcd13d9ccc3d8f0f6f936a5776df852e11b /app/Templates/subtask_show.php
parenta8418afdebe92dde495bc5010645779c73939b7b (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.php22
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 ?>