2015-02-25 17:29:06 +01:00
|
|
|
<?php if ($task['time_estimated'] > 0 || $task['time_spent'] > 0): ?>
|
2014-11-23 20:13:38 +01:00
|
|
|
|
|
|
|
<div class="page-header">
|
|
|
|
<h2><?= t('Time tracking') ?></h2>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<ul class="listing">
|
2015-02-25 17:29:06 +01:00
|
|
|
<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>
|
2014-11-23 20:13:38 +01:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<?php endif ?>
|