summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFábio Hideki <hideki.fabio@gmail.com>2015-06-04 21:55:43 -0300
committerFábio Hideki <hideki.fabio@gmail.com>2015-06-04 21:55:43 -0300
commitefc7c135637f40c8ca6cb739b7f199ef35d87e94 (patch)
tree2e1177fda04801d15f102e1cb9c852bd792b49f0 /app/Template
parent599b6624dde8cb1c1f6416ee0af530402089da4d (diff)
adding time estimated in de task footer and swimlanes' name in the task details
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/board/task_footer.php4
-rw-r--r--app/Template/task/details.php5
2 files changed, 9 insertions, 0 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 5945d5af..e191dca7 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -58,4 +58,8 @@
<?php if ($task['score']): ?>
<span class="task-score"><?= $this->e($task['score']) ?></span>
<?php endif ?>
+
+ <?php if (! empty($task['time_estimated'])): ?>
+ <strong><?= $this->e($task['time_estimated']).'h' ?> <?= t('estimated') ?></strong>
+ <?php endif ?>
</div>
diff --git a/app/Template/task/details.php b/app/Template/task/details.php
index f688585a..7a99371f 100644
--- a/app/Template/task/details.php
+++ b/app/Template/task/details.php
@@ -9,6 +9,11 @@
<strong><?= t('Reference: %s', $task['reference']) ?></strong>
</li>
<?php endif ?>
+ <?php if ($task['swimlane_id']): ?>
+ <li>
+ <?= t('Swimlane: %s ', $this->swimlane->getNameById($task['swimlane_id'])) ?>
+ </li>
+ <?php endif ?>
<li>
<?= dt('Created on %B %e, %Y at %k:%M %p', $task['date_creation']) ?>
</li>