diff options
| author | Frederic Guillot <fred@kanboard.net> | 2015-07-19 18:14:20 -0400 |
|---|---|---|
| committer | Frederic Guillot <fred@kanboard.net> | 2015-07-19 18:14:20 -0400 |
| commit | 401b0bdfb10ebfe75c9a392de52d37cc3c22c062 (patch) | |
| tree | 841bf69b8d404a29ab92692a9ebfb8d5a7e500e1 /app/Template/task/time_tracking_summary.php | |
| parent | fcdd71af2cabdd1252172ac83a24be8672ca34cc (diff) | |
Split task controller into smaller classes
Diffstat (limited to 'app/Template/task/time_tracking_summary.php')
| -rw-r--r-- | app/Template/task/time_tracking_summary.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/Template/task/time_tracking_summary.php b/app/Template/task/time_tracking_summary.php new file mode 100644 index 00000000..0210be7e --- /dev/null +++ b/app/Template/task/time_tracking_summary.php @@ -0,0 +1,13 @@ +<?php if ($task['time_estimated'] > 0 || $task['time_spent'] > 0): ?> + +<div class="page-header"> + <h2><?= t('Time tracking') ?></h2> +</div> + +<ul class="listing"> + <li><?= t('Estimate:') ?> <strong><?= $this->e($task['time_estimated']) ?></strong> <?= t('hours') ?></li> + <li><?= t('Spent:') ?> <strong><?= $this->e($task['time_spent']) ?></strong> <?= t('hours') ?></li> + <li><?= t('Remaining:') ?> <strong><?= $this->e($task['time_estimated'] - $task['time_spent']) ?></strong> <?= t('hours') ?></li> +</ul> + +<?php endif ?>
\ No newline at end of file |
