summaryrefslogtreecommitdiff
path: root/app/Template/task/timesheet.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-03 21:59:48 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-03 21:59:48 -0500
commit9fb2e711899ae328a7a09295468793ffbc16c27c (patch)
tree1efba503386d939c61767f8fbbf006dcfdcd6a34 /app/Template/task/timesheet.php
parent8a02ceb40e88c27777a95251083bc21629d62bb0 (diff)
Move tasks templates to a subfolder
Diffstat (limited to 'app/Template/task/timesheet.php')
-rw-r--r--app/Template/task/timesheet.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/Template/task/timesheet.php b/app/Template/task/timesheet.php
new file mode 100644
index 00000000..cd093657
--- /dev/null
+++ b/app/Template/task/timesheet.php
@@ -0,0 +1,13 @@
+<?php if ($timesheet['time_estimated'] > 0 || $timesheet['time_spent'] > 0): ?>
+
+<div class="page-header">
+ <h2><?= t('Time tracking') ?></h2>
+</div>
+
+<ul class="listing">
+ <li><?= t('Estimate:') ?> <strong><?= Helper\escape($timesheet['time_estimated']) ?></strong> <?= t('hours') ?></li>
+ <li><?= t('Spent:') ?> <strong><?= Helper\escape($timesheet['time_spent']) ?></strong> <?= t('hours') ?></li>
+ <li><?= t('Remaining:') ?> <strong><?= Helper\escape($timesheet['time_remaining']) ?></strong> <?= t('hours') ?></li>
+</ul>
+
+<?php endif ?> \ No newline at end of file